• 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

Carlo

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 - 101 through 120 (of 150 total)
← 1 2 3 … 5 6 7 8 →
  • Author
    Posts
  • January 18, 2015 at 2:27 pm in reply to: Custom Sidebar for the Homepage #137878
    Carlo
    Member

    Hi Hashim.

    Your code looks great for what you wanted to do and there are no bad practices.

    To show the code in a special field, you'll find a button labeled code above the forum reply field. Click on it before you paste your code and click on it again after you paste your code.

    Thank you for adding yourself to my mailing list. Although you figured it out I'll still add the tutorial.


    Comprehensive, easy to follow Genesis documentation

    January 18, 2015 at 11:46 am in reply to: Messed Up My Site – Foodie Theme #137861
    Carlo
    Member

    Hi Dawn. Sorry the code didn't work. Try this:

    add_filter( 'genesis_grid_loop_args', function( $args ) {
    	$args[ 'grid_image_class' ] = 'aligncenter';
    	$args[ 'feature_image_class' ] = 'aligncenter';
    	return $args;
    } );

    Comprehensive, easy to follow Genesis documentation

    January 15, 2015 at 9:44 am in reply to: Custom Sidebar for the Homepage #137543
    Carlo
    Member

    Hi Hashim. This is a solution that is going to take a lot of code and one that I think others might need too, so I am going to put the tutorial on my site.

    I wrote a tutorial for a similar solution: http://carlomanf.id.au/local-global-sidebars/ but that's for if you want to seamlessly combine two widget areas in the one sidebar.

    Add yourself to my mailing list to be notified when the tutorial is ready.


    Comprehensive, easy to follow Genesis documentation

    January 15, 2015 at 9:29 am in reply to: How to make a very simple landing page? (Newbie help) #137540
    Carlo
    Member

    Hi Yossif. Dom is correct about what I was talking about.

    To remove the comments from the page, you actually just turn them off in the page editing screen. The option is located in the Discussion section, which you may need to show by clicking on Screen Options if it's not already showing.

    This is the code you want to add to the template page_sales.php, anywhere between the line <?php and the line genesis();:

    remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' );
    remove_action( 'genesis_after_header', 'genesis_do_subnav' );
    remove_action( 'genesis_after_header', 'display_generate_box', 15 );

    That will remove the generate box, subnav and the footer widgets.

    The ads are going to be more difficult to remove because you used the Simple Hooks plugin, which is called Simple for a reason. It's really designed for if you want to add content to every page, not some pages. This is where it becomes difficult to help you out without access to your code.


    Comprehensive, easy to follow Genesis documentation

    January 15, 2015 at 9:11 am in reply to: Messed Up My Site – Foodie Theme #137536
    Carlo
    Member

    Hi Dawn. I think I figured it out. It's because you said this:

    I use grid loop…

    The grid loop forces images to align to the left. But I think you should be able to change that, by adding the following code to your theme functions:

    add_filter( 'genesis_grid_loop_args', function( $args ) {
    	$args[ 'grid_image_class' ] = '';
    	return $args;
    } );

    Let me know if that works.


    Comprehensive, easy to follow Genesis documentation

    January 15, 2015 at 8:58 am in reply to: Need Help Editing AgentListing Plugin #137534
    Carlo
    Member

    Sorry niceup. This should work:

    $price = sprintf( 'Price %s', genesis_get_custom_field( '_listing_price' ) );
    $address = sprintf( 'Cash Flow %s', genesis_get_custom_field( '_listing_cashflow' ) );

    Comprehensive, easy to follow Genesis documentation

    January 15, 2015 at 8:55 am in reply to: Optin Form in Header #137533
    Carlo
    Member

    Safari on PC is old and I'm not sure it's supported anymore, so that might explain it.


    Comprehensive, easy to follow Genesis documentation

    January 14, 2015 at 6:22 am in reply to: Messed Up My Site – Foodie Theme #137424
    Carlo
    Member

    Hi Dawn. Go into your Genesis theme settings and the section 'Content Archives'. Have you selected Image Alignment none?


    Comprehensive, easy to follow Genesis documentation

    January 14, 2015 at 6:18 am in reply to: Cannot add continue reading to content post archive #137423
    Carlo
    Member

    Hi there. I use similar code on my own site and it works. Try this:

    // Add Read More Link to Excerpts
    add_filter('excerpt_more', 'vwl_get_read_more_link', 20);
    function vwl_get_read_more_link( $default ) {
    	if ( is_admin() )
    		return $default;
    
    	return '&hellip;&nbsp;<a href="' . get_permalink() . '">[Continue&nbsp;Reading]</a>';
    }

    Are you sure you're pasting the code into the right theme?


    Comprehensive, easy to follow Genesis documentation

    January 14, 2015 at 6:07 am in reply to: How to Change Copyright text etc at bottom of Parallax Pro #137421
    Carlo
    Member

    Silly question: I used the plugin, which was great and solved two problems at once. But does it write those changes to the code? So that once I use it, I can deactivate it?

    Good question Mary and the answer is no. It doesn't write the changes to the code and they'll stop taking effect if you deactivate the plugin.


    Comprehensive, easy to follow Genesis documentation

    January 14, 2015 at 6:05 am in reply to: Nothing On My Page Is Clickable! Help! #137420
    Carlo
    Member

    Hi Blogelina. Add this code to the bottom of your theme stylesheet to get your links to work:

    .headerimg {
    width: 126px;
    height: 70px;
    }

    However, I understand this is a prominent credit back to you for anyone who uses your theme on their site? To be honest, I can't see a lot of people wanting to use a theme with such a prominent ad built in?


    Comprehensive, easy to follow Genesis documentation

    January 14, 2015 at 5:55 am in reply to: How to make a very simple landing page? (Newbie help) #137418
    Carlo
    Member

    Hi Yossif. You don't want to add any CSS code (i.e. display: none;) to do this. What you actually want to do is edit the template page_landing.php. It should have a series of lines starting with remove_action and you'll want to add more of these to remove each element of the page that you don't want. Can you share the link to the page you're talking about?


    Comprehensive, easy to follow Genesis documentation

    January 14, 2015 at 5:46 am in reply to: Floating Primary Menu Bar #137417
    Carlo
    Member

    Hi Mealtog. This is not really something that needs a plugin. I recommend you alter your theme with the code in the tutorials Christoph shared.


    Comprehensive, easy to follow Genesis documentation

    January 14, 2015 at 3:51 am in reply to: Custom Sidebar for the Homepage #137405
    Carlo
    Member

    Hi Hashim. Add the following code to your template front-page.php (i.e. after the <?php line):

    remove_action( 'genesis_sidebar', 'genesis_do_sidebar' );
    add_action( 'genesis_sidebar', 'YOUR_FUNCTION_HERE' );

    ...where YOUR_FUNCTION_HERE is the name of the function you have created that includes the call to genesis_widget_area.

    If you don't have a template front-page.php, create it and give it the following contents:

    <?php
    
    remove_action( 'genesis_sidebar', 'genesis_do_sidebar' );
    add_action( 'genesis_sidebar', 'YOUR_FUNCTION_HERE' );
    
    genesis();

    Hope that makes sense. If you need further clarification let me know.


    Comprehensive, easy to follow Genesis documentation

    January 14, 2015 at 3:44 am in reply to: Slider Excerpts Not Showing on Mobile Device #137403
    Carlo
    Member

    Hi there. I'm not an expert with sliders, but the code that Marcy provided is slightly incorrect. It should be:
    /*display: none; */


    Comprehensive, easy to follow Genesis documentation

    January 14, 2015 at 3:41 am in reply to: Custom post types for movies #137401
    Carlo
    Member

    HI there. Sometimes when registering post types and taxonomies, you need to do a hard refresh. More info here:
    http://www.refreshyourcache.com/en/cache/


    Comprehensive, easy to follow Genesis documentation

    January 14, 2015 at 3:37 am in reply to: "Featured Image" for Homepage when Shared #137400
    Carlo
    Member

    I'm glad you got it to work Kary. I still think that if ( is_front_page() ) is better than if ( is_home() || is_front_page() ) because there's a chance that using if ( is_home() || is_front_page() ) will cause your facebook image to show on another page other than the front page, depending on how your site is configured. But that's up to you.


    Comprehensive, easy to follow Genesis documentation

    January 14, 2015 at 3:31 am in reply to: Nested categories or custom taxonomies #137399
    Carlo
    Member

    To be honest, grayflo, if you're not going to be working with an expert designer, it's unlikely you'll unlock the full benefit of using custom post types and custom fields anyway. (But feel free to prove me wrong!) You might as well stick to categories and save yourself the hassle.


    Comprehensive, easy to follow Genesis documentation

    January 14, 2015 at 3:27 am in reply to: Optin Form in Header #137397
    Carlo
    Member

    Which browser are you using on your PC, and which browser are you using on your Mac? Usually rendering varies between the browser software but not so much between PC/Mac.


    Comprehensive, easy to follow Genesis documentation

    January 12, 2015 at 11:17 am in reply to: Category Drop Down Menu #137199
    Carlo
    Member

    Hi Tim. Do you mean in the menu bar? You can create the post, and then add a menu item for it as a sub-item of Clubs.


    Comprehensive, easy to follow Genesis documentation

  • Author
    Posts
Viewing 20 posts - 101 through 120 (of 150 total)
← 1 2 3 … 5 6 7 8 →
« Previous Page

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 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