Add tags and then remove comment link
-
My blog currently uses the my theme with grass and dew template.
https://www.iv-7sales.com/blogAfter a post, there is a comment icon or link. I am not allowing comments so I’d like to remove that.
I also want to add tags. In the widgets, it allows me to add them to my left menu, but it looks terrible there. Didn’t appear to have enough room allocated and I don’t want it there anyhow. I’d like it just underneath I guess but not part of it.New to php, mysql, etc. I can manage my way. I found the table and field where the tags are kept in the database.
Here is the some code I tried to comment out the comment’s line, didn’t work and tried to add a tags line, didnt work.
$content_details[]=array( 'title'=>$page_title, 'content' =>get_the_content('Click here to read more.. ?'), 'thumbnail' =>the_post_thumbnail('thumbnail'), 'the_permalink' =>get_permalink(), 'comments'=>get_comments_number(), 'time'=>get_the_time('jS F Y'), 'category'=>get_the_category_list('','') );
[Please post code snippets between backticks or use the code button.]
The tag is found in the wp_terms table, in the Name field.
- The topic ‘Add tags and then remove comment link’ is closed to new replies.