This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!
Tagged: Post meta info
- AuthorPosts
- December 3, 2014 at 12:38 am #5455
How can you have both styles? basically in the homepage to display the small icons with the author name and category and in the post page the big icons? Is there a way to add the author name as well with the big icons?
- December 4, 2014 at 4:52 am #5485
Hey there, You must be logged in to view this reply!
- December 9, 2014 at 3:01 am #5569
Yes I was aware that that you could change the Post Meta Info in the blog settings but what I meant is to have both. Because if you use small, then in the small preview or home page it show something like this
https://www.dropbox.com/s/hsmkywc3o8lmk1w/Screenshot%202014-12-08%20at%209.51.55%20PM.png?dl=0
but if you change to large icons it shows this which I dont like
https://www.dropbox.com/s/ic5bghj7qx3vcz5/Screenshot%202014-12-08%20at%209.51.10%20PM.png?dl=0
I basically want to have both at the same time.
were in the home will show the icons with the authors name and picture and in the post page thishttps://www.dropbox.com/s/o67fqktvsfev2s6/Screenshot%202014-12-08%20at%209.51.19%20PM.png?dl=0
that will be amazing! thanks
- December 9, 2014 at 7:34 am #5571
Or maybe there is a way to add the like count to the small icons? That will also be good.
- December 10, 2014 at 6:27 pm #5590
Hey there, You must be logged in to view this reply!
- December 11, 2014 at 4:03 am #5622
Nothing is impossible 🙂 but I checked and I wasn’t sure what was the error he got and how he fixed it.
If that is “impossible is there a way to add the author and category to the big icon?
- December 11, 2014 at 7:44 am #5633
I was able to find this post
https://wpthms.com/support/topic/large-share-buttons/
basically the way I want it is like this website
you can see how in the main page they use small icons and in the single post they use big icons
- December 12, 2014 at 5:47 pm #5661
Hey there, You must be logged in to view this reply!
- December 12, 2014 at 8:42 pm #5680
I added it but nothing change, I went to the custom function and I put it somewhere, I dont know if I need to place it in a specific place, also should it be place on spakle custom function?
- December 16, 2014 at 3:43 am #5714
Hey there, You must be logged in to view this reply!
- January 16, 2015 at 6:49 pm #6178
This is how the end of my php (child theme) looks:
*/
global $yt_category_fields;
$cat_css = ”;
if( is_a( $yt_category_fields, ‘YT_Category_Custom_Fields’ )){
if( !empty( $post_categories ) ){
foreach ($post_categories as $cat) {
$cat_color = ”;
$cat_color = $yt_category_fields->get_category_meta($cat->cat_ID, ‘color’);
$cat_css .= $cat_color ? “\t.main-navigation .menu > li.menu-item-object-category.{$cat->slug}{ background-color:{$cat_color}; } .main-navigation .menu > li.menu-item-object-category.{$cat->slug} a{color:#FFF;}\n” : “”;
}}
}return $css.$cat_css;
}Where should I add the code?
- January 19, 2015 at 6:16 pm #6236
Hey there, You must be logged in to view this reply!
- January 19, 2015 at 9:57 pm #6266
mmmm…. Didnt change anything but that doesn’t matter since I found a plugin for this. thanks maxxi
- AuthorPosts
- You must be logged in to reply to this topic.
This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!