@harry B.
Any news on that?
@harry B.
Ok now I see the issue.
Categories and posts are fixed.
The issue remains for the home since by default customizr doesn’t show post metas there, you’re showing the latest posts so you can show the metas following this snippet:
http://www.themesandco.com/snippet/display-post-metas-home-page/
(by default they’re not shown in all pages, and for certain types of post, so you might want to return always true)
Then you can hide them (if you want), adding this to your css:
.home .entry-meta {
display: none;
}
And you’re done.
The issue will still remain if you show a static page, ’cause customizr, to show the metas, uses the action __after_content_title, which isn’t fired in front-page. To have the page title also in the front-page, you can use another filter,
//show page title in home
add_filter('tc_show_page_title', '__return_false');
and again hide it if you want with:
.home.page .entry-header{
display: none;
}
Last case, there are some type of posts for which customizr doesn’t display the title:
add_filter('tc_post_formats_with_no_header', '__return_empty_array');
will avoid that.
Is this something customizr should do by default? Don’t know.
Hope this helps.
Nice solutions. __return_false and __return_empty_array are very useful, I am not familiar with.
Thanks for sharing this d4z_c0nf
@nikeo
Yep, discovered those recently too. 🙂
I was thinking that what I wrote above can easily be achieved, changing the core code just a little bit, using the hide class already present in customizr css: for example
https://themes.trac.wordpress.org/browser/customizr/3.1.12/parts/class-content-post_metas.php#L43
something like:
$hide = (!$post_metas_bool) ? '.hide' : '';
and then here
https://themes.trac.wordpress.org/browser/customizr/3.1.12/parts/class-content-post_metas.php#L49
<div class="entry-meta <?php echo $hide; ?>"
and so on.
But don’t know if you’d really like it 🙂
Hi,
Thx D4z_C0nf, perhaps it would help Nikeo to patch it in a further patch.
I got the same problem on my side with “Missing Required Field: “author” “
A patch for this would definitely help