-
AuthorPosts
-
March 17, 2015 at 9:25 pm #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.
March 18, 2015 at 5:17 pm #413784Hi 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!
ElliottMarch 18, 2015 at 7:26 pm #413904Hi 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
PeterMarch 19, 2015 at 8:47 am #414203Hi 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,
RikardMarch 19, 2015 at 4:52 pm #414614Hi Rikard,
I made as told:
http://gyazo.com/90b2ecce929f8b304f4b9ba884398237But still Blog Post and Portfolio Grid show “Post Format”:
http://gyazo.com/bce09a4afe699d33352908bd1cbb68e3Thanks for help
PeterMarch 19, 2015 at 4:54 pm #414615Hi Rikard,
I made as told:
http://gyazo.com/90b2ecce929f8b304f4b9ba884398237But still Blog Post and Portfolio Grid show “Post Format”:
http://gyazo.com/bce09a4afe699d33352908bd1cbb68e3Thanks for help
PeterMarch 20, 2015 at 8:40 am #415099Hi!
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,
IsmaelMarch 21, 2015 at 3:09 pm #415735Hi 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
PeterMarch 23, 2015 at 4:09 pm #416432 -
AuthorPosts
- You must be logged in to reply to this topic.