Tagged: blog layout
-
AuthorPosts
-
February 24, 2017 at 1:42 pm #751381
Hi there,
please help us with the following two problems:
1) Displaying Metadata on Blog-Overview-Page:
We have changed the layout of our Blog(-Overview)-Layout to “Rastered-Layout” and now we need to make some changes to the meta data presented there. We want to get rid of the comments to be displayed and show the author instead.
Please have a look at the following screenshot: https://www.microtool.de/wp-content/uploads/2017/02/BLOG.jpg There you can see the settings and the Blog-Overview as well.Where can I find the .php to change that? Is that done in the /includes/loop-index.php ?
Can I put a copy of that with my changes in my Child-Theme in the same directory?2) Other Overview-Pages
We also have a press-page where we do not make use of featured images. How do we get rid of those just on the press-page?Thanks in advance,
microTOOLMarch 1, 2017 at 8:40 am #753512Hey microtool,
Thank you for using Enfold.
1.) You need to modify the config-templatebuilder > avia-shortcodes > postslider.php file. Look for this code around line 439:
$meta .= " <div class='slide-meta-comments'><a href='{$link}{$link_add}'>{$commentCount}
2.) Use this css code:
.post-type-archive-press .slide-image { display: none; }
Best regards,
IsmaelMarch 1, 2017 at 9:48 am #753556Hi Ismael,
thanks a lot. The images on the press-archive page are now gone (2.) but the comments (1.) still give me a headache. I allready commented out that whole part
/* if ( $commentCount != "0" || comments_open($the_id) && $entry->post_type != 'portfolio') { $link_add = $commentCount === "0" ? "#respond" : "#comments"; $text_add = $commentCount === "1" ? __('Comment', 'avia_framework' ) : __('Comments', 'avia_framework' ); $meta .= ""; //<div class='slide-meta-comments'><a href='{$link}{$link_add}'>{$commentCount} {$text_add}</a></div><div class='slide-meta-del'>/</div>"; } */
and nothing changed. Maybe there is something wrong with the cache, but all caches that I know of have been cleared and reset and still the comments show up.
Best regards,
microTOOLMarch 2, 2017 at 6:55 am #754075 -
AuthorPosts
- You must be logged in to reply to this topic.