• 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

hortonsart

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 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • December 21, 2017 at 11:39 pm in reply to: Adding genesis simple sidebar support to genesis cpt archive settings page. #214727
    hortonsart
    Member

    That seems to only work for a custom taxonomy not a custom post type archive settings page.

    December 21, 2017 at 5:54 pm in reply to: Nav Menu Colors in Sixteen Nine Pro Theme #214722
    hortonsart
    Member

    Make these changes in your style.css file:

    .genesis-nav-menu a:hover, 
    .genesis-nav-menu .current-menu-item > a {
        background-color: #ccc;
        color: #000;
    }
    October 26, 2016 at 4:36 pm in reply to: Remove CPT Entry Header and Footer on Search Results #195374
    hortonsart
    Member

    Hi Josh, I opted for a CSS approach to solve this problem by targeting the body class of "search" and the post class for my cpt to hide the entry meta.

    
    .search .your-custom-post-type-class-here .entry-meta {
        display: none;
    }

    All searches on your site should have a body class of "search" by default and all of your custom post types should have a custom post class by default as well. Let me know if you run into any problems.

    March 17, 2016 at 1:52 pm in reply to: Remove CPT Entry Header and Footer on Search Results #181726
    hortonsart
    Member

    Thanks Victor. I guess I'm not understanding, or maybe were talking about two different things? The post types that are included in the search results are fine. I want the custom post types, pages and posts to show up in the results and they are. What I don't want is the entry header (post info) and entry footer (post meta) to be displayed on the results of my custom post types when being displayed in the search results, because they're more like pages (It doesn't matter what category they belong to, what date they were published, or which author actually published the custom post type etc.). I thought removing these items through their respective custom post type single templates would carry over into the search results?

    For example let's say I have the following Post Types
    - Pages
    - Posts
    - Products (Custom Post Type with entry_header_markup, post_info, entry_footer_markup, and post_meta removed in the single template -> single-products.php)

    Let's also say I've written a blog post that references one of these "Products" in its body. When I perform a search I get the blog post I wrote and the "product" posting in the results. This is great and what I want to happen, but both results are now being displayed with the date and the author and the number of comments, which is fine for a blog post because those elements are important, but I've removed those elements on the Products postings because that information doesn't matter.

    For the time being I've just removed this info via CSS. If anyone knows a better way to do this please let me know.

    November 17, 2015 at 1:49 pm in reply to: Remove Permalink from Page Titles? #171352
    hortonsart
    Member

    Did you ever find a solution to this?

    April 22, 2015 at 9:27 pm in reply to: Customizing AgentPress Listings with Another Theme #148855
    hortonsart
    Member

    If you are using the AgentPress Pro Theme, these settings are already in the functions.php file.

    If you wanted to change the "Bathrooms" to "Color" you could modify this:

    __( 'Bathrooms:', 'apl' ) => '_listing_bathrooms',

    to this

    __( 'Color:', 'apl' ) => '_listing_color',

    If you wanted both "Bathrooms" and "Color" to display you would simply add a new detail called Color and leave the Bathroom detail alone. So it would look like this:

    __( 'Bathrooms:', 'apl' )               => '_listing_bathrooms',
    __( 'Color:', 'apl' )               => '_listing_color',
    May 7, 2014 at 5:32 pm in reply to: Issues using Windows Server for WordPress? #104096
    hortonsart
    Member

    I've been working for a large health organization and we're running several internal and external WordPress sites including a couple MultiSite installs using IIS. There will always be issues that will arise but for the most part it's been smooth sailing. let me know if you have any specific concerns.

    May 7, 2014 at 5:26 pm in reply to: Setting Grid Content to 0 Characters #104095
    hortonsart
    Member

    Have you tried?:

    
    /** Remove the post info function */
    remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
    
    /** Remove the post content */
    remove_action( 'genesis_entry_content', 'genesis_do_post_content' );
    
    
    April 15, 2014 at 9:22 am in reply to: Genesis Pages Display Metadata Info when BuddyPress Is Installed #100471
    hortonsart
    Member

    Correct. Copy the Genesis Framework page.php, rename to buddypress.php and add those 2 lines before 'genesis();'

    April 14, 2014 at 3:50 pm in reply to: Genesis Pages Display Metadata Info when BuddyPress Is Installed #100304
    hortonsart
    Member

    To fix this, create a new file 'buddypress.php' based off of the Genesis Frameworks page.php and add the following code to it:

    // Removes the entry-header's entry-meta
    remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
    
    //Removes the entry-meta in the footer of the post
    remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
    February 27, 2014 at 1:07 pm in reply to: Custom post type archive pagination #92706
    hortonsart
    Member

    Au Coeur, Do you have a link I can look at?

    January 29, 2014 at 3:24 pm in reply to: Newbie Brand New to Forums #87734
    hortonsart
    Member

    Go here to see instructions for all of the themes you have purchased from StudioPress. If you've purchased more than one.
    http://my.studiopress.com/setup/

    January 29, 2014 at 2:51 pm in reply to: Newbie Brand New to Forums #87728
    hortonsart
    Member

    Welcome! You can find the theme setup instructions here:
    http://my.studiopress.com/setup/goinggreen-theme/

    January 26, 2014 at 6:57 am in reply to: Pushing sidebars below content/sliders in Prose theme #87069
    hortonsart
    Member

    I'd recommend using a custom template for the front page of your site and adding custom widget areas for all of your content.
    Stewart Chamberlain has a pretty good article on how to do this here:

    custom-homepage-genesis-framework

    January 26, 2014 at 6:12 am in reply to: Custom post type archive pagination #87061
    hortonsart
    Member

    Are you just wanting to display x number of portfolio posts per page? Here's what I'm using for pagination in functions.php:

    /** Change the number of portfolio items to be displayed (by Bill Erickson) */
    add_action( 'pre_get_posts', 'CPT_portfolio_items' );
    function CPT_portfolio_items( $query ) {
     
        if( $query->is_main_query() && !is_admin() && is_post_type_archive( 'CPT_portfolio' ) ) {
            $query->set( 'posts_per_page', '9' );
        }
     
    }

    This will display the number of posts specified and then have a "Next Page>>" link for pagination at the bottom of the page

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 15 total)

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