Add function in theme child
-
Hi Alimir,
First let me say it’s a great plugin.
I have a question that my limited coding skills cannot answer.
I’m using Zephyr theme for an internal blog. In order to have the like button appear in every blog on the blog page view -masonry style- (where every post with it’s excerpt is shown) I added the small code line “<?php if(function_exists(‘wp_ulike’)) wp_ulike(‘get’); ?>” to the listing-post.php file, under the Read More section.It works.
The problem is I have to redo this after every theme updated. Which is quite often. Can you advice on how to add this to the theme’s child? It’s not specific to the theme, but rather a solution for any theme.
- The topic ‘Add function in theme child’ is closed to new replies.