Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #413231

    Hi,
    I like to get rid of the Option ” Display Entries from Post Formats” in Portfolio Grid, Blog Posts etc.
    http://gyazo.com/286726a942a9cbda1165c5fcf5c6e135
    I have disable post formats altogether but the selector is still confusing users.
    Thanks for your help
    Peter

    • This topic was modified 9 years, 8 months ago by pegasso4444.
    #413784

    Hi pegasso4444!

    Open up /enfold/config-templatebuilder/avia-shortcodes/blog.php and around lines 42 – 43 you should see this.

    "subtype" => array( __('Display blog posts', 'avia_framework') =>'posts',
    					__('Display entries from a custom taxonomy', 'avia_framework') =>'taxonomy')),
    

    Change it to this.

    "subtype" => array( __('Display blog posts', 'avia_framework') =>'posts')),
    

    Cheers!
    Elliott

    #413904

    Hi Elliott,
    I did as told and line 42-43 is now:
    “subtype” => array( __(‘Display blog posts’, ‘avia_framework’) =>’posts’)),
    __(‘Display entries from a custom taxonomy’, ‘avia_framework’) =>’taxonomy’)),

    But this is giving me a white screen…
    Any idea?
    Thanks
    Peter

    #414203

    Hi Peter!

    Please try to replace both lines in Elliotts first code block and replace them with the one line in Elliotts second code block.

    Regards,
    Rikard

    #414614

    Hi Rikard,
    I made as told:
    http://gyazo.com/90b2ecce929f8b304f4b9ba884398237

    But still Blog Post and Portfolio Grid show “Post Format”:
    http://gyazo.com/bce09a4afe699d33352908bd1cbb68e3

    Thanks for help
    Peter

    #414615

    Hi Rikard,
    I made as told:
    http://gyazo.com/90b2ecce929f8b304f4b9ba884398237

    But still Blog Post and Portfolio Grid show “Post Format”:
    http://gyazo.com/bce09a4afe699d33352908bd1cbb68e3

    Thanks for help
    Peter

    #415099

    Hi!

    When you say “Post Format”… What exactly do you mean by that? The modification above should remove the second option (Display entries from a custom taxonomy). You won’t be able to select the custom taxonomies such as Category, Post Format, Portfolio Entries etc.

    Regards,
    Ismael

    #415735

    Hi Ismael,
    I have disabled POSTS and anything “post related”.
    But Portfolio Grid, Blog Post, Masonry and the Magazine element still show the selector for “Post Formats”.
    http://gyazo.com/3950be0931044e116bd5672f7446ae4d
    I need to hide this from the multisite admins because it adds only confusion.

    Thanks For your help
    Peter

    #416432

    Hey!

    I’m sorry but that will require modifications of multiple core theme files which is not advisable because it will be overwritten once you update the theme. Best thing to do is inform all admins not to use that option.

    Cheers!
    Ismael

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