Forum Replies Created

Viewing 15 replies - 1 through 15 (of 22 total)
  • Plugin Author Christopher Cochran

    (@cochran)

    @someonebutwhere you are very welcome.

    You also do make a good point, I probably should also add the reason into the plugin description somewhere.

    The reason however is to show the hooks in the page, it does insert content into the page. This is only added when ?gvhg_hooks=show and other triggers are added to the url, but in the chance those urls somehow do get indexed, you don’t want google to crawl the page with the hooks of genesis sprinkled throughout. It can be run on production, but just as a precaution, when not actively checking for where to hook something I would just disabled it and re-enable when need.

    Have fun learning filters and hooks! They can be extremely powerful. I am glad this plugin is a great help :).

    Plugin Author Christopher Cochran

    (@cochran)

    @someonebutwhere Thanks!

    That is very strange that it changed the word ‘production’ to the name of your site. Not sure why that could happen, but you may have some code that runs on translatable strings to change the word ‘production’ to your site name?

    But to remove this notice you can use the snippet below.

    remove_action( 'admin_notices', 'gvhg_active_notice' );

    Plugin Author Christopher Cochran

    (@cochran)

    Hi Cynci,

    Haven’t given it up! The current version, may be missing some newer hooks, but I am currently working on an updated release now, which will add the these more recent hooks added to genesis, visually to the plugin.

    Can’t figure how to edit my code above, but this css is a little more targeted to only simple social icons, just incase.

    .simple-social-icons [class^="social-"],
    .simple-social-icons [class*=" social-"] {
        display: inline-block;
        width: 1em;
        height: 1em;
    }
    Plugin Author Christopher Cochran

    (@cochran)

    Hi ScottFromPA,

    Just tested with WP 4.0 and seems to work fine.

    When logged in, on the front end of your site viewing your theme, in the admin bar along the top, you should see a menu item ‘G Hook Guide’ .

    You may also use these on the end of your site url to trigger the different views.
    ?g_hooks=show
    ?g_filters=show
    ?g_markup=show

    Let me know if this works for you or if you are still having issues.

    Plugin Author Christopher Cochran

    (@cochran)

    Hi Lilipop!

    Thanks for reporting this issue. Some themes add their own loops, I forgot magazine was on that list. Will add this in the next update I push out, but for now, you can add

    remove_action( 'genesis_loop', 'magazine_home_loop_helper' );

    to your child theme’s function.php to fix the issue immediately.

    Let me know if you have any questions or need help! But that should do it.

    Plugin Author Christopher Cochran

    (@cochran)

    Hi maximusmccullough,

    Thanks for reporting this issue! I have pushed up a fix in the latest release. Should work fine with Jetpack, as well as other similar mobile themes, now.

    Plugin Author Christopher Cochran

    (@cochran)

    patrickhealy,

    For post navigation could use this code snippet

    function cc_single_post_navigation() {
    
       if ( ! is_singular( 'post' ) )
    	return; ?>
    
    	<div class="navigation">
    
    		<div class="pagination-prev alignleft"><?php previous_post_link(); ?></div>
    
    		<div class="pagination-next alignright"><?php next_post_link(); ?></div>
    
    	</div>
    
    <?php }
    add_action( 'genesis_after_post_content', 'cc_single_post_navigation' );

    Let me know if you have any issues with it. There also is a plugin by David Decker who does some really great Genesis Plugins: http://ww.wp.xz.cn/plugins/genesis-single-post-navigation/

    otfromtot, thanks for helping out patrick, sorry, my plugin didn’t work for you. I have recently updated it, hopefully will fix any issues you may have been having, as well as for you, patrickhealy. Sorry you had to uninstall it from all your sites.

    Anyways, if have any questions, I should be able to respond quite quickly.

    Thanks!

    Plugin Author Christopher Cochran

    (@cochran)

    otfromtot, Sorry about that!

    Life has been a little crazy on my end, and if you peeked at the code, you can see there is some crazy math logic in there. Only can work on it when in the right mind, without going insane!

    Anyways, if you find the need, would love for you to give it a try again. I have triple tested it with the blog page template and archives, and didn’t come across any issues. If you do use it and find issues, I will be much more responsive in the forums now.

    Thank you.

    Plugin Author Christopher Cochran

    (@cochran)

    patrickhealy,

    Sorry about that, life had me a little busy. Haven’t abandoned, just was hard to find some time to get to it. Anyways, I have updated the plugin, which hopefully should fix any issues you were having. If you come across the need, I would love for you to give a try again, and let me know if it working properly now for you.

    Thanks!

    Plugin Author Christopher Cochran

    (@cochran)

    Ah, awesome! Ha, that’s pretty funny. Glad the guide makes it so easy, that you have been using the new hooks without realizing. πŸ™‚

    Plugin Author Christopher Cochran

    (@cochran)

    Hey Dee,

    I have gotten the new loop hooks into the plugin:

    genesis_before_entry,
    genesis_entry_header,
    genesis_before_entry_content,
    genesis_entry_content,
    genesis_after_entry_content,
    genesis_entry_footer,
    genesis_after_entry,
    genesis_before_post.

    One thing to note with these hooks are they are for the new HTML5 markup enabled through placing add_theme_support( β€˜genesis-html5β€² ); in your child theme’s functions.php.

    I am missing however the new markup filters simply cause I am sure of the best way to implement this into the plugin just yet. These are like:

    genesis_attr_body,
    genesis_attr_site-header,
    genesis_attr_site-title,
    genesis_attr_site-description, & ect.,

    which filters the elements new schema attributes like role, itemprop, itemscope, and itemtype. Which is difficult to show since this is part of the markup, and doesn’t really effect display.

    Let me know if you are having issues with the new loop hooks not displaying in the plugin though! I am also working on a post for the new markup, filters and how to use them and what they mean and will ping you for sure when that is live!

    Plugin Author Christopher Cochran

    (@cochran)

    healthable,

    The difference with this one, is it also shows markup for the main containers, and filter hooks.

    For non coders it’s a great companion to http://ww.wp.xz.cn/extend/plugins/genesis-simple-hooks/. Simply activate the plugin on your Genesis child theme, and choose to show the available hooks right in your theme, to know exactly where code dropped in the Simple Hooks plugin will appear.

    Plugin Author Christopher Cochran

    (@cochran)

    The teasers use the_excerpt() which by default strips out any HTML and shortcodes, and for good reason since it does cut content at a character length so can cut content before a tag is closed and cause displaying issues with the site.

    You can look into filtering the the_excerpt() or removing genesis_grid_loop_content() and creating your own function to output the content your way for now.

    I’ll try to figure a clover way to handle this within the plugin though and make it easier in the future. Will have to take some thought however, since it could easily cause issues with a site. Maybe through a filter of some sort to easily enable it. But yes for now I would look into core Genesis to see how the genesis_grid_loop() works since this plugins utilizes this function, and look to removing genesis_grid_loop_content() and adding your own, or try filtering the_excerpt().

    Plugin Author Christopher Cochran

    (@cochran)

    homealone,
    What version of genesis are you currently using? Just activated my plugin in on a site with mocha and wasn’t able to create the issue you are having.

Viewing 15 replies - 1 through 15 (of 22 total)