• 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

Ren Ventura

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 - 221 through 240 (of 265 total)
← 1 2 3 … 11 12 13 14 →
  • Author
    Posts
  • December 6, 2014 at 9:01 am in reply to: Blog Template & excluding categories #133815
    Ren Ventura
    Member

    You're welcome! You were using add_action when you should have been using add_filter since you were modifying the query.


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    December 6, 2014 at 8:55 am in reply to: Individual post loses style from home page #133814
    Ren Ventura
    Member

    I'm still getting the error that it's offline.

    However, peeking at your theme's stylesheet, it looks like the issue is there. The syntax highlighting stops at a certain point, which usually means there's a syntax error at that location. Unfortunately, I can't tell you what line because it all appears on one, which may also have something to do with it.


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    December 6, 2014 at 8:35 am in reply to: Blog Template & excluding categories #133810
    Ren Ventura
    Member

    The reason it didn't work when you were using the blog template is because the blog template does not use the main query. Therefore, trying to customize the main query on the blog template won't work. Here's a helpful post from Bill Erickson that goes into detail.

    http://www.billerickson.net/dont-use-genesis-blog-template/


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    December 6, 2014 at 8:26 am in reply to: Urget Help Needed – think I broke the Stylesheet #133807
    Ren Ventura
    Member

    Hi, Greg. This won't impact any pages or images because none of those are saved in the stylesheet. The worst that will happen is that your customizations will be lost. If that's no big deal, then go ahead and upload a fresh copy of style.css. If you can share a link, someone can take a look and perhaps figure out what's going on. It's likely just a syntax error that can be easily fixed.


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    December 6, 2014 at 8:19 am in reply to: Hiding post meta and post info only for a special category #133806
    Ren Ventura
    Member
    //* Remove post info and meta on posts with a particular category
    add_action ( 'get_header', 'rv_cpt_remove_post_info_genesis' );
    function rv_cpt_remove_post_info_genesis() {
    	if ( has_category( 'category-slug' ) ) {
    		remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
    		remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
    	}
    }
    

    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    December 6, 2014 at 8:11 am in reply to: Blog Template & excluding categories #133805
    Ren Ventura
    Member

    Try this:

    https://gist.github.com/EngageWP/a4696c3c3ddb829bb42d#file-remove-categories-blog-index-php


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    December 6, 2014 at 7:59 am in reply to: Adding dynamic buy now button to pose excerpt #133801
    Ren Ventura
    Member

    It's hard to pinpoint the exact issue without seeing the theme files and admin because it could be a few things. Since it's outputting the same thing for every post, it seems that there may be something up with the conditional but nothing is standing out to me at this point. Also, since the content isn't being populated dynamically, there may be something in the templates as well.


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    December 5, 2014 at 11:05 pm in reply to: Adding dynamic buy now button to pose excerpt #133785
    Ren Ventura
    Member

    So it's only working on the first post? Do you have any further conditionals in your template that could be interfering?

    You may also be having an issue because you're comparing the value of your meta key to an integer. The third argument in get_post_meta() is set to true so the function is returning the value as a string (see http://codex.wordpress.org/Function_Reference/get_post_meta). I obviously can't be sure on this without knowing the values of ticketCompany.

    Also, just as a small tip, you should pull out get_post_meta($post->ID,'ticketCompany', true) from your if statements, store it in a variable and compare the variable. This will prevent repetition (DRY).


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    December 5, 2014 at 10:36 pm in reply to: Change Header Position #133784
    Ren Ventura
    Member

    Since you're not using a header right widget, your site title area, by default, takes up 100% of the width. You can change this by adding a widget to the right header widget area or by editing the .title-area on line 1084 of your style.css.


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    December 5, 2014 at 10:06 pm in reply to: Why is there extra white space next to my image? #133780
    Ren Ventura
    Member

    Correction: line 388. Sorry!


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    December 5, 2014 at 10:06 pm in reply to: Why is there extra white space next to my image? #133779
    Ren Ventura
    Member

    On line 288 of your style.css, change width: auto; to width: 100%;.


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    December 5, 2014 at 9:46 pm in reply to: Display two pages with two different templates on one page #133777
    Ren Ventura
    Member

    For some context, can you explain why you're not just using one page and one template?


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    December 5, 2014 at 9:41 pm in reply to: Individual post loses style from home page #133776
    Ren Ventura
    Member

    I couldn't see your site because it's offline. You may need to contact your hosting provider regarding that.

    About the issue of your design disappearing on internal posts, are you using any custom templates in your child theme? If so, check to make sure you've include genesis(); at the end of the template.


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    December 5, 2014 at 9:30 pm in reply to: Centric theme blog page title #133775
    Ren Ventura
    Member

    You need to edit the centric_post_title() function, which starts on line 82 of functions.php. The first if statement needs to look something like this (not tested):

    if ( ( is_page() && !is_page_template() ) || is_home() )

    Just modify it to your preferences.


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    December 5, 2014 at 9:22 pm in reply to: Site title #133773
    Ren Ventura
    Member

    Have you confirmed it's not in the Site Title setting (under General Settings)? It could also be in the settings of your front page if you've entered a custom SEO title.


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    December 5, 2014 at 4:52 pm in reply to: Displaying Child Pages on Parent Page (with thumbnails) #133745
    Ren Ventura
    Member

    You're welcome!


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    December 5, 2014 at 4:43 pm in reply to: Displaying Child Pages on Parent Page (with thumbnails) #133742
    Ren Ventura
    Member

    Just add the posts_per_page argument to the query. I updated the gist.


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    December 5, 2014 at 4:00 pm in reply to: Displaying Child Pages on Parent Page (with thumbnails) #133738
    Ren Ventura
    Member

    I went through and modified the code you had. There were some issues so I cleaned it up and made some necessary adjustments. This should work for you. Just note that when I edited the code, I did not include the genesis() function at the end so you'll need to add that if using it on a page template.

    https://gist.github.com/EngageWP/50eca14875dc985e904b


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    December 5, 2014 at 3:20 pm in reply to: Adding dynamic buy now button to pose excerpt #133731
    Ren Ventura
    Member

    If I'm understanding correctly, you want to add a custom area to the end of a post's excerpt. Inside that custom area should be some basic markup that contains the content of an external PHP script. If that's correct, try something like this.


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    December 5, 2014 at 2:22 pm in reply to: Ware is the #133725
    Ren Ventura
    Member

    The body tag is not contained within a child theme; it's in Genesis core. Depending on what you need to do, there is almost certainly a solution that doesn't require editing Genesis core. If you're trying to add JS, you can follow Andrea's tip or use wp_enqueue_script(). If you're trying to add a custom body class, you can see this article.


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

  • Author
    Posts
Viewing 20 posts - 221 through 240 (of 265 total)
← 1 2 3 … 11 12 13 14 →
« 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