[Support request] GP Premium 1.5

Home Forums Support [Support request] GP Premium 1.5

Home Forums Support GP Premium 1.5

Viewing 15 posts - 91 through 105 (of 122 total)
  • Author
    Posts
  • #410382
    Tom
    Lead Developer
    Lead Developer
    #410410
    Samuel

    I’m using the current beta to convert a new site over to GP. One of the things I need to do is insert new content right after the header and the generate_after_header hook seems to have a bug in it. that hook runs right after the menu/logo area, it does not run after the entire page header. I’ve looked and looked for another hook but it doesn’t seem there is one so I’m guessing this is a bug (or another hook is needed) since there’s no way to insert content after the entire header if you’re using the page headers functionality.

    #410432
    Tom
    Lead Developer
    Lead Developer

    You’d need to write a function to hook into that hook with a greater priority than the page header.

    For example:

    add_action( 'generate_after_header', 'tu_after_page_header', 50 );
    function tu_after_page_header() { ?>
        Your content in here
    <?php }

    Adding PHP: https://docs.generatepress.com/article/adding-php/

    #410519
    Duncan

    Hey Tom,

    Lovely update, really enjoying using this.

    Couple of requests/suggestions:

    1. Would it be possible to add a ‘Display Comments’ checkbox to the Blog > Content > Single panel? Seems like a sensible place to allow us a nice, easy way to toggle this.
    2. It would also be nice to have some options on the ‘Post Navigation’ – I know this can be achieved with css, but the option to display next/previous post links inline, display as buttons and even reverse the order (so that the previous posts link is on the right and later posts on the left).

    Thanks

    Duncan

    #410573
    Samuel

    Tom,

    Thank you. That worked perfectly.

    Samuel

    #410783
    Tom
    Lead Developer
    Lead Developer

    Hi Duncan,

    1. Displaying the actual comments should be handled by WordPress itself. They have on-page options, as well as a global option in “Settings > Discussion”.

    2. I agree – I could see those becoming options soon.

    Thank you!

    Samuel – glad I could help! πŸ™‚

    #415806
    Tom
    Lead Developer
    Lead Developer

    Just released GPP 1.5-rc.3 with the following changes:

    – Blog: Add featured image options specific to pages
    – Page Header: Fix custom images not displaying
    – Page Header: Fix image link option not working
    – German translations updated (thanks, Daniel!)

    #415807
    Antar

    Great stuff, Tom.

    Thank you for keeping it coming! πŸ™‚

    #417250
    Aydos

    I didnt download 1.5 but i have 1.4.
    Tom, please fix that:
    in 1.4 version, When I’m on the main page, the logo link is active and leads to itself. The same applies to all sections of the menu. If the menu consists of a category, when I’m on some category, then its name continues to remain clickable. this is not very good from the point of view of SEO.

    sorry for my bad english, i dont speak english.

    #417262
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Any chance you can open a new topic?

    Thanks!

    #417729
    Enrico

    Hi Tom,
    for your information after I installed WordPress 4.9-RC2-42125 the functionality “page header location” is not working anymore.

    It was set to “Inside content area” but now it behave like if it is set to: “Above content area”

    see image here

    This is not limited to one site, but I see this problem on each site upgraded to 4.9-RC2-42125 with GP 1.5 RC3

    #417876
    Todd

    I am unable to force the plugins to indicate that the GP Premium 1.5 plugin is available. I added Code Snippets, and supplied it the following code:

    add_action( 'after_setup_theme','tu_beta_tester' );
    function tu_beta_tester() {
    	add_filter( 'generate_premium_beta_tester','__return_true' ); 
    }

    I also tried adding this PHP to the functions.php of my child theme, but no dice.

    Unfortunately, my site is behind a firewall.

    Would the header of my child theme have any bearing on why I can’t force the plugin to recognize that the beta is available for download?

    /*
    Theme Name: GeneratePress Child
    Theme URI: https://generatepress.com/generatepress-child/
    Author: Todd Wheeler
    Author URI: http://172.20.3.101
    Template: generatepress
    Description: GeneratePress Child Theme 
    Version: 1.3.44
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Text Domain: generatepress-child
    Tags: two-columns, three-columns, one-column, right-sidebar, left-sidebar, footer-widgets, blog, e-commerce, flexible-header, full-width-template, buddypress, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, rtl-language-support, featured-images, theme-options
    
    GeneratePress, Copyright 2017 Tom Usborne
    GeneratePress is distributed under the terms of the GNU GPL
    
    GeneratePress is based on Underscores http://underscores.me/, (C) 2012-2017 Automattic, Inc.
    */

    I’ve cleared the cache, restarted the webserver, used both Safari and Chrome on the Mac. My license appears to be active.

    https://pasteboard.co/GSzckeW.pngCurrent GP Premium version 1.4.3

    #417896
    Tom
    Lead Developer
    Lead Developer

    Enrico – featured images are handled in Customize > Layout > Blog now.

    Todd – sometimes it takes a little bit to check for the update, can you let me know if it still hasn’t shown up in an hour or so?

    Thanks!

    #417949
    Todd

    Hi Tom,
    Thanks for the response!

    I’ve actually been trying to enable this for a week.

    Does this screenshot help?

    https://pasteboard.co/GSzFhP2.png

    #417987
    Enrico

    Thanks a lot Tom,
    Unfortunately the problem is not changed.
    I didn’t change it since a long time so I didn’t notice the new place to set it. When I upgraded gp from 1.4 to 1.5 it kept my old setting.

    Now, after I upgraded to wp 4.9 rc2 “below content” don’t work in pages, not even if I set it correctly as you told me to do.

Viewing 15 posts - 91 through 105 (of 122 total)
  • The topic ‘GP Premium 1.5’ is closed to new replies.