[Resolved] Disable Post meta on certain posts / post categories

Home Forums Support [Resolved] Disable Post meta on certain posts / post categories

Home Forums Support Disable Post meta on certain posts / post categories

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1258515
    GeneratePressUser

    Hello,

    How to disable post date, author name, categories and previous / next post only on specific post categories.

    and where to add that code, pls let me know.

    It would be great if you can provide list of all wordpress tags and conditions so that we can customize things accordingly.

    You can see the website link on that page if want to hide what to do?

    Thanks!

    #1258617
    Leo
    Staff
    Customer Support

    Hi there,

    You would need this filter:
    https://docs.generatepress.com/article/option_generate_blog_settings/

    It needs to be added using one of the methods here:
    https://docs.generatepress.com/article/adding-php/

    You can see lots of examples by searching option_generate_blog_settings in our forum search.

    Here are the WordPress conditional tags:
    https://codex.wordpress.org/Conditional_Tags

    Let me know if this helps ๐Ÿ™‚

    #1260556
    GeneratePressUser

    Hello Leo,

    OK, so I cannot add PHP within the elements area in hooks? I guess that won’t work right?

    So as per your link I need to take Code Snippets plugin and then use it via it. Correct?

    #1261445
    Leo
    Staff
    Customer Support

    OK, so I cannot add PHP within the elements area in hooks?

    Not for filters.

    So as per your link I need to take Code Snippets plugin and then use it via it. Correct?

    Yes or a child theme’s function.php

    #1261463
    GeneratePressUser

    Hello Leo,

    OK thanks, btw can your team pls add duplicate option in elements area? Coz it’s hard to make again and again new new and do settings, duplicate option would be best coz we work with tons of sites and we are sure many others would love to have duplicate option there to make clone of hook and other elements.

    #1261882
    Leo
    Staff
    Customer Support

    I believe we have that on the to-do list.

    We are hoping to turn elements Gutenberg compatible so should be around the same time.

    Thanks ๐Ÿ™‚

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.