• 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

Satrap

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 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • February 21, 2015 at 9:26 pm in reply to: How to move the post meta to the front of the breadcrumb output? #141696
    Satrap
    Member

    Thanks so much for this, and sorry for my very late reply. I had given up on this since I thought there was no way.

    I did as you suggested, but sadly its not working. I don't get any errors since you fixed my coding mistake, but it doesn't display the post info in front of the breadcrumb output either.

    Any other ideas?...

    Thanks once again.

    January 29, 2015 at 9:16 pm in reply to: How to move the post meta to the front of the breadcrumb output? #139008
    Satrap
    Member

    Hi Lauren,

    I can figure out the hooks and their locations, but I guess what I am confused about/ or are going wrong about it totally is...

    Well, let me show you what I came up with first:

    // Reposition the post info function
    remove_action( 'genesis_entry_header', 'genesis_post_info', 12 ); 
    add_action( 'genesis_before_loop', 'genesis_post_info' );
    

    And this is the closest I am able to get. But I guess my mistake was in that I thought there would be a way to hook the post info right after the Breadcrumbs by using something like this:

    
    add_action( 'genesis_after_breadcrumbs', 'genesis_post_info' );
    

    But this obviously doesn't work. I am assuming there is no such thing as "genesis_after_breadcrumbs". Is that correct?

    And am I correct in assuming that the first code above is the closest I can get to positioning the post info next to the breadcrumb, and from there I have to use CSS to basically move it closer to the breadcrumb output and position the post info on the right side of it?

    Thanks once again for taking time to help.

    January 28, 2015 at 10:57 pm in reply to: How to move the post meta to the front of the breadcrumb output? #138929
    Satrap
    Member

    Thanks Lauren.

    That is exactly what I was trying to do, but I just can't get it to work. I know the issue is me not knowing how to hook the item correctly, but can't figure out how to do it correctly.

    Thanks once again.

    January 27, 2015 at 10:50 pm in reply to: How to move the post meta to the front of the breadcrumb output? #138812
    Satrap
    Member

    Hi Brad,

    Thanks so much for taking time to help, and I am very sorry for my very late reply. I totally forgot to check back here (from now on I will subscribe).

    I read your post, and with my limited knowledge, I gather you mean to basically use a filter to customize the output of the Breadcrumb by basically including the post meta data in it.

    Now I am sure this is not correct, but thats the only thing I could come up with which is to add the code for the post info with
    the "$args['suffix']" as a new filter.

    Like so

    add_filter( 'genesis_breadcrumb_args', 'child_theme_breadcrumb_modifications' );
    function child_theme_breadcrumb_modifications( $args ) {
    $args['suffix'] = 'Updated on: '  .the_modified_date('F j, Y', '', '', false)</div></div>';
    return $args;
    } 

    But it doesn't work and I get the error of having an unexpected " ' ".

    Is that what you mean or am I doing it completely wrong?

    Thanks again and sorry for being a total novice.

    December 9, 2014 at 2:00 pm in reply to: Unable to remove the primary navigation!? #134104
    Satrap
    Member

    Hi David,

    Thanks for taking time to help.

    I couldn't find any other occurrence of the "add / remove menu" function in other files.

    I did reverse the order of statements as you suggested, and that didn't work either.

    And I also did use priority numbers, but still no results.

    Here is my function file if that helps: on github

    Note: I am using a custom function plugin to house all of my functions. So, this is that plugin.

    And yes, I did try adding the code directly into the theme's function.php and that didn't work either. So, I don't think its an issue of having the code in theme's function.php instead of having it in a custom plugin.

    Thanks in advance.

    December 7, 2014 at 10:43 pm in reply to: Change Header Position #133952
    Satrap
    Member

    Actually, I just looked at your site and found the solution for the CSS as well.

    So, from your dashboard click on Appearance - Editor

    This will bring up your CSS file for the current theme you are using..

    Find this code (I think its line 1097 if you want to go through your FTP editor):

    .header-image .site-title a {
        background-position: center top !important;

    And change it to:

    .header-image .site-title a {
        background-position: left center;

    Now your logo should align to the left.

    December 7, 2014 at 10:37 pm in reply to: Change Header Position #133951
    Satrap
    Member

    Here is how you can add a widget to the header right:

    On your dashboard, go to Appearance - Widget

    Once there, drag any widget from the left side (it can be Adsense code, a search form, or whatever you want) to the right side of the screen where it says Header Right (usually its the first widget).

    Once you do that, the problem will be solved. You do not need to do anything with the CSS.

    If you don't want to add a widget, then you have to mess with the CSS code, which unfortunately I can't help on that front.

    Good luck.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 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