• 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

carrieoke13

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 45 total)
1 2 3 →
  • Author
    Posts
  • June 28, 2020 at 2:57 pm in reply to: Add Static Content Above Blog Page #499685
    carrieoke13
    Participant

    I'm using the block editor. That link is the code snippet I tried but it doesn't seem to be working for me.

    I ended up just making a widget and displaying it above the loop for the blog page. That worked. 🙂

    Thanks!

    June 26, 2020 at 3:14 pm in reply to: Show Custom Post Type and Blog Posts Together on one page #499588
    carrieoke13
    Participant

    Awesome, thank you so much!

    June 7, 2019 at 8:43 am in reply to: Add secondary sidebar to Author Pro #491524
    carrieoke13
    Participant

    I just figured it out! I had to comment out

    unregister_sidebar( 'sidebar-alt' );

    as well.

    Thanks so much!

    June 7, 2019 at 8:41 am in reply to: Add secondary sidebar to Author Pro #491523
    carrieoke13
    Participant

    Just to be clear - this is the code I tried removing from the functions file:

    genesis_unregister_layout( 'sidebar-content-sidebar' );

    Thanks!

    June 7, 2019 at 8:38 am in reply to: Add secondary sidebar to Author Pro #491522
    carrieoke13
    Participant

    Thanks, Victor. I tried this before I posted, and it caused this error: "This site is having technical difficulties - please check your site admin email."

    Is there anywhere else that code needs to be deleted in order to make it work?

    May 16, 2017 at 10:47 am in reply to: WooCommerce / Stripe payment gateway issue with Foodie Pro theme #206558
    carrieoke13
    Participant

    Thanks, Victor, that is helpful.

    May 16, 2017 at 7:01 am in reply to: WooCommerce / Stripe payment gateway issue with Foodie Pro theme #206539
    carrieoke13
    Participant

    The reason I posted here is because I know that the header is called in a different way than in other WordPress themes and I thought someone else might have had the same issue. I'm not an idiot.

    Thanks for the helpful response.

    June 21, 2016 at 3:45 pm in reply to: Navigation links not working only on blog page #187972
    carrieoke13
    Participant

    So, I had forgotten to turn off one plugin: Akismet. It seems to be working now. I guess that could've been the culprit?

    June 21, 2016 at 3:28 pm in reply to: Navigation links not working only on blog page #187970
    carrieoke13
    Participant

    Thanks, Victor. Do you have any suggestions for figuring out where they are coming from? I have turned off all the plugins.

    December 17, 2015 at 1:50 pm in reply to: Grab first image from post if no featured image #174107
    carrieoke13
    Participant

    hmm. have you tried a plugin like Regenerate Thumbnails to see if it would fix the issue?

    December 17, 2015 at 11:59 am in reply to: Grab first image from post if no featured image #174092
    carrieoke13
    Participant

    This is the code I used and it used to work with Minimum Pro - it's pretty similar to yours:

    //*get first image
    
    function catch_that_image() {
      global $post, $posts;
      $first_img = '';
      ob_start();
      ob_end_clean();
      $output = preg_match_all('/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post->post_content, $matches);
      $first_img = $matches[1][0];
    
      if(empty($first_img)) {
        $first_img = "/path/to/default.png";
      }
      return $first_img;
    }
    

    This tutorial also looks promising: http://www.wpbeginner.com/wp-themes/how-to-set-a-default-fallback-image-for-wordpress-post-thumbnails/

    November 22, 2015 at 8:32 am in reply to: Adding code right below header #171758
    carrieoke13
    Participant

    I did! I kept trying different locations until one of them worked 🙂 Here's what worked:

    add_action( 'genesis_before', 'gray_hr', 15 );
    function gray_hr () {
    	echo '<hr class="logged-out-subnav">';
    }
    

    Thanks 🙂

    November 21, 2015 at 5:23 pm in reply to: Cant get rid of list style type #171730
    carrieoke13
    Participant

    It's on your style sheet, under Sidebars, line 1884. You need to comment out this code:

    .sidebar ul li:before {
    content: "0BB 020";
    padding-right: 7px;
    }

    June 26, 2015 at 6:26 pm in reply to: Displaying Child Pages on Parent Page (with thumbnails) #157629
    carrieoke13
    Participant

    Ren , or anyone else, I am trying to add onto this and show the child pages of the child pages (and thumbnails of all). What would I add to this query to make that happen? or would it be a separate query?

    Thanks!
    Carrie

    March 25, 2015 at 8:29 am in reply to: Minimum Pro Background Image Loading #145595
    carrieoke13
    Participant

    Thank you both! I will try this.

    March 7, 2015 at 8:27 pm in reply to: Minimum Pro Blog Page – post nav not working #143622
    carrieoke13
    Participant

    Thanks, Brad! I couldn't figure out how to make the grid posts go away, but removing front-page.php worked.

    March 6, 2015 at 7:29 pm in reply to: Custom Post Type Categories and Tags not showing up in search #143544
    carrieoke13
    Participant

    Thanks 🙂

    January 12, 2015 at 11:26 am in reply to: Navigation not showing up on category archive pages #137202
    carrieoke13
    Participant

    Thank you, Carlo! This works beautifully.

    January 11, 2015 at 1:11 pm in reply to: Navigation not showing up on category archive pages #137088
    carrieoke13
    Participant

    Okay! I have found a solution, and frankly, I have no idea why it works, but someone had another problem and posted about it in the comments here: http://premium.wpmudev.org/blog/add-custom-post-types-to-tags-and-categories-in-wordpress/#comment-153788

    Here's what I did: I replaced

    // Get all your post types
    $post_types = array('post' , 'articles');

    in the above code with

    
    $post_types = array( 'nav_menu_item','articles', 'news' );

    and magically, my menu is back!

    thanks so much for pointing me in the right direction!

    January 11, 2015 at 1:02 pm in reply to: Navigation not showing up on category archive pages #137083
    carrieoke13
    Participant

    Okay, I found the culprit, but I'm not sure how to edit it to fix the issue.

    This code adds my custom post types to tags and categories:

    //add custom post type to tags and categories
    function add_custom_types_to_tax( $query ) {
    if( is_category() || is_tag() && empty( $query->query_vars['suppress_filters'] ) ) {
    
    // Get all your post types
    $post_types = array('post' , 'articles');
    
    $query->set( 'post_type', $post_types );
    return $query;
    }
    }
    add_filter( 'pre_get_posts', 'add_custom_types_to_tax' );

    When I comment it out, the menu reappears on my category archives, but all my custom post types that are in that category don't appear on the page anymore. Help!

  • Author
    Posts
Viewing 20 posts - 1 through 20 (of 45 total)
1 2 3 →

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