• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

eluviis

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 20 posts - 1 through 20 (of 152 total)
1 2 3 … 6 7 8 →
  • Author
    Posts
  • February 14, 2017 at 9:47 am in reply to: Digital Pro Help with Journal Featured Image Aspect Ratio #201138
    eluviis
    Member

    It's too bad this forum is not what it used to be. It's like, you either code it yourself or hire someone that can. I do respect that approach though. So I guess that's OK. But, it used to be the staff was more involved here. I'll hire someone that can figure this out.

    February 8, 2017 at 9:19 am in reply to: Digital Pro Help with Journal Featured Image Aspect Ratio #200781
    eluviis
    Member

    Hi Victor, thanks for chiming in. I know that though. That's not it. I'm not looking at old posts. I'm creating new test posts and adding new images that get crunched AFTER editing the new image size. The new image size does appear in the uploads folder, but it will still render the largest image in the Journal archives instead of the new size I created. In other words, it will only load the default 1000 x 700pm child them image size unless I make a change to functions.php to create a different size, then it will only load the largest image instead of the new image size.

    February 4, 2017 at 3:27 pm in reply to: Displaying Smaller Version of the Featured Image #200573
    eluviis
    Member

    I kept searching and searching and came upon some code in the WordPress CODEX and used it to modify the code I had. And it works:

    /** Custom - Add the featured image section */
    add_action( 'genesis_before_entry_content', 'genesis_featured_image' );
    function genesis_featured_image() {
    	if ( is_singular( array( 'post', 'page', 'specialty', 'event', 'portfolio' ) ) && has_post_thumbnail() ){
    		echo '<div id="featured-image">';
    		echo get_the_post_thumbnail($thumbnail->ID, 'medium', array( 'class' => 'aligncenter' ));
    		echo '</div>';
    	}
    }

    Basically, the trick was to replace the ID "header" with the ID "medium". Now it displays my medium image size.

    Interestingly, like with all my post images inside posts, even when you display the medium image, opening the image in a new window or downloading it, yields the full size image. Not sure why it does that. Maybe this is a new feature in WordPress? Or more recent for that matter. Can anyone elaborate?

    February 4, 2017 at 12:39 pm in reply to: How do I resize images without using Regenerate Thumbnails? #200568
    eluviis
    Member

    Is 730 the size of your largest image? If that's the case, I don't think you can. At least not effectively. I'm sure you could use CSS to make the image display at 750px, but it's going to show a bit more pixelarization.

    February 3, 2017 at 3:32 pm in reply to: Image Code is Correct But Still Rendering Images at Full Size #200528
    eluviis
    Member

    Anyone?

    February 2, 2017 at 2:12 pm in reply to: Digital Pro Typography on Infinity Pro #200470
    eluviis
    Member

    Actually, my last post was probably a little confusing. Let me clear that up. I decided to go with Digital Pro instead for several reasons. So no need to for me to change the fonts.

    February 2, 2017 at 2:03 pm in reply to: Digital Pro Typography on Infinity Pro #200468
    eluviis
    Member

    Thanks Victor. I'll give it a shot. Buying Digital Pro now...

    February 2, 2017 at 10:22 am in reply to: Digital Pro Typography on Infinity Pro #200456
    eluviis
    Member

    One more thing... I know Infinity is newer.... but when it all comes down to it, which is really better? Infinity or Digital Pro?

    Yes, I know I can manipulate it all I want, but out of the box, codewise and features. Which is better?

    July 28, 2016 at 11:24 am in reply to: URL Appendage Problem #190387
    eluviis
    Member

    @Christoph - That portfolio plugin is actually really good. I like how it works and I like how it includes the CSS I need to make it look more or less how I want. Hard-coding it in the way I usually do it won't give me this kind of depth as I usually do it much more simpler.

    One question though. You think there is way I can change "portfolio" to "gallery" in the plugin without hacking the plugin? I don't want it to revert back to portfolio during the next update. Otherwise, really good.

    July 27, 2016 at 6:27 pm in reply to: URL Appendage Problem #190348
    eluviis
    Member

    ^^^ Thanks. That plugin might be very useful. I got the CPT working great now thanks to you. However, the old CSS code I used to use doesn't play nice with the theme I'm using now. Maybe this plugin will give me CSS code I can use. Apart from that, I can't have the portfolio named "portfolio" - needs to be gallery, so I've changed all the names with search and replace.

    July 27, 2016 at 5:29 pm in reply to: URL Appendage Problem #190343
    eluviis
    Member

    EDIT: Nevermind. That seems to have done the trick. It's working now.

    Quick question. That code that I posted above is based off the original Minimum theme, ie, not HTML5. The new Minimum Pro them (HTML5) uses templates for the portfolio custom post type. Am I asking for trouble here, or is the code above perfectly legitimate?

    July 27, 2016 at 5:25 pm in reply to: URL Appendage Problem #190342
    eluviis
    Member

    Hi, thanks, but that doesn't really help. See, all that with_front' => false does is that the posts themselves do not get the "portfolio" slug prepended. But my problem is that I'm getting the "blog" slug prepended before "portfolio" because it's in the permalink settings to add that to the blog. But I don't want that to affect my custom post types such as this one.

    July 27, 2016 at 3:45 pm in reply to: URL Appendage Problem #190332
    eluviis
    Member

    Basically, I don't want "/blog/" prepended to the post name on my portfolio CPT like it is on the blog. How do I edit the code above to avoid that?

    October 29, 2015 at 6:19 pm in reply to: Is Banner Ad Code Different than Image Link Code? #169567
    eluviis
    Member

    By the way, I just inspected a Themedy theme for Genesis that has the ads widget, with Firebug. It looks like the code is just standard HTML with CSS formatting. Am I right? Essentially this means that having 4 ads like this per page, on a site with 400 pages, you'd have 1,600 links out.

    What do you guys think? Is this OK? Should these maybe be Javascript instead? See the image: Firebug Inspection

    October 15, 2015 at 3:12 pm in reply to: Magazine-Pro Problem with Byline Edits #168230
    eluviis
    Member

    Anyone? :/

    October 14, 2015 at 9:29 pm in reply to: Magazine-Pro Problem with Byline Edits #168189
    eluviis
    Member

    I wonder if I'm better off just copying that first portfolio code and changing the portfolio name for each of my other custom post types and turning off the plugin. I wonder if things won't break.

    October 14, 2015 at 9:26 pm in reply to: Magazine-Pro Problem with Byline Edits #168188
    eluviis
    Member

    This is the code the plugin is inserting. Now, why does the byline not show? And while I'm at it... Why don't do the post tags work with the custom post type? One of the bottom widgets doesn't work either.

    // registration code for quickblog post type
    	function register_quickblog_posttype() {
    		$labels = array(
    			'name' 				=> _x( 'Quickblog', 'post type general name' ),
    			'singular_name'		=> _x( 'Quickblog', 'post type singular name' ),
    			'add_new' 			=> __( 'Add New' ),
    			'add_new_item' 		=> __( 'Quickblog' ),
    			'edit_item' 		=> __( 'Quickblog' ),
    			'new_item' 			=> __( 'Quickblog' ),
    			'view_item' 		=> __( 'Quickblog' ),
    			'search_items' 		=> __( 'Quickblog' ),
    			'not_found' 		=> __( 'Quickblog' ),
    			'not_found_in_trash'=> __( 'Quickblog' ),
    			'parent_item_colon' => __( '' ),
    			'menu_name'			=> __( 'Quickblog' )
    		);
    		
    		$taxonomies = array('post_tag');
    
    		$supports = array('title','editor','author','thumbnail','excerpt','custom-fields','revisions','post-formats');
    		
    		$post_type_args = array(
    			'labels' 			=> $labels,
    			'singular_label' 	=> __('Quickblog'),
    			'public' 			=> true,
    			'show_ui' 			=> true,
    			'publicly_queryable'=> true,
    			'query_var'			=> true,
    			'exclude_from_search'=> false,
    			'show_in_nav_menus'	=> true,
    			'capability_type' 	=> 'post',
    			'has_archive' 		=> true,
    			'hierarchical' 		=> false,
    			'rewrite' 			=> array('slug' => 'quickblog', 'with_front' => false ),
    			'supports' 			=> $supports,
    			'menu_position' 	=> 6,
    			'menu_icon' 		=> 'http://rallyways.com/wp-content/uploads/extra_images/quickblog_icon.png',
    			'taxonomies'		=> $taxonomies
    		 );
    		 register_post_type('quickblog',$post_type_args);
    	}
    	add_action('init', 'register_quickblog_posttype');
    October 14, 2015 at 9:17 pm in reply to: Magazine-Pro Problem with Byline Edits #168187
    eluviis
    Member

    I think I might have found the problem, but I don't know how to fix it. I noticed that in my portfolio custom post type, the author byline does work. But my portfolio CPT was code I pulled from an old Minimum site I had and I pasted the code into the Magazine-Pro functions.php

    This is the code:

    /** Custom - Create portfolio custom post type */
    add_action( 'init', 'minimum_portfolio_post_type' );
    function minimum_portfolio_post_type() {
    	register_post_type( 'portfolio',
    		array(
    			'labels' => array(
    				'name' => __( 'Portfolio', 'minimum' ),
    				'singular_name' => __( 'Portfolio', 'minimum' ),
    			),
    			'exclude_from_search' => false,
    			'has_archive' => true,
    			'hierarchical' => true,
    			'menu_icon'           => 'dashicons-admin-page',
    			'public' => true,
    			'rewrite' => array( 'slug' => 'portfolio' ),
    			'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'trackbacks', 'custom-fields', 'comments', 'revisions', 'page-attributes', 'genesis-seo', 'genesis-cpt-archives-settings' ),
    		)
    	);
    }

    Now, my other CPTs are made with a plugin. I have genesis-seo, genesis-cpt-archive-settings, and page-attributes activated. But... I don't know how to activate the author byline.

    May 16, 2015 at 10:38 pm in reply to: Modern Portfolio Header Right Menu Only on Homepage #152465
    eluviis
    Member

    I ended up using the plugin - Easy Custom Sidebars and that did the trick. I was able to replace the header-right sidebar in every page but the homepage.

    Cheers

    April 7, 2015 at 9:35 pm in reply to: Modern Portfolio Header Right Menu Only on Homepage #147011
    eluviis
    Member

    By the way... this is the site: http://andrewsaintandrew.com - I just want the header right menu (header right widget) to ONLY show on the homepage. That's all.

  • Author
    Posts
Viewing 20 posts - 1 through 20 (of 152 total)
1 2 3 … 6 7 8 →

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble