CSS to remove “comments count” icon from main page [closed]
you have to add “display:none;” to specific CSS class. add span.comments-link a { display: none; }
you have to add “display:none;” to specific CSS class. add span.comments-link a { display: none; }
This will depend on how your theme is structuring the templates for single.php (individual post view) but I’ll show you what to look for and how to apply via CSS. So from a theme I’m working on, this is where the category gets included in the post: <article id=”post-3417″ class=”post-3417 post type-post status-publish format-standard hentry … Read more
The posts list table headings can be modified with the manage_posts_custom_column filter. Looking at how the default comment icon is handleded on WP_Posts_List_Table we can see, that you can use a html string as the column heading. The linked plugin uses verified as the key for the custom column it adds to the table. As … Read more
You want some code to be added to the #title element. You can do this, as Sorich said, by copying the header.php file and just adding it there, but you could also try to add it in the footer and then using Javascript move it to the correct element. This might survive theme upgrades better, … Read more
First, you don’t need the apply_filters below. That is called directly from the wp_mime_type_icon() function already. The issue is that your add_filter() call is missing the $accepted_args parameter. The add_filter() function has the following construct: add_filter($tag, $function_to_add, $priority = 10, $accepted_args = 1) So the $accepted_args is 1 by default. Because of this, only the … Read more
It’s not entirely clear what you are referring to here. Judging from your code theme_path looks like a constant. Usually when supplying/printing links to theme assets you would use get_bloginfo(‘key’) with one of the keys template_directory or stylesheet_directory. Basically the latter will point at the child theme and the first to the parent theme if … Read more
There is a simple way to do this by using __return_false . The downside is you get a double refresh as it checks for a partial and then returns “false” which results in a full refresh. This is problematic if you are using javascript only to show a “realtime” preview. In that case, you’d have … Read more
Try this one [iconbox title=”Başarı” icon=” fa fa-star”]Çözüm üretiyoruz…[/iconbox] [iconbox title=”Başarı” icon=” fa fa-html5″]Çözüm üretiyoruz…[/iconbox]
I think the issue is that WordPress removes empty tags from the editor. Try adding in a non-breaking space – Font Awesome should remove it so you shouldn’t see any noticeable difference: <i class=”fab fa-facebook”> </i>
The first you do: separate regular comments and pingbacks. In your comments.php set the type parameter for both: <ol class=”commentlist”> <?php // show regular comments wp_list_comments( array ( ‘type’ => ‘comment’, ‘style’ => ‘ul’ ) ); ?></ol> <ol class=”pinglist”> <?php // show pingbacks and trackbacks, short: “pings” wp_list_comments( array ( ‘type’ => ‘pings’, ‘style’ => … Read more