customize functionality of share buttons under each blog post [closed]

Okay so this will be your jQuery code. <script type=”text/javascript”> $(document).ready(function() { $(‘.thumbup’).on(‘click’, function(){ $(this).parents(‘.entry’).find(“.hidden-like”).toggle(); }); }); </script> But to use it, you will have to change couple of IDs in classes or you can also add classes with IDs. You can not use ID as you wish. The id attribute specifies a unique id … Read more

Add option for administrator to submit link

If you have sucessfully added option field in Theme options; Now you just need to call it on front end. For that just use get_option( $option, $default ); For example if you are saving your social link with key “text_box_value”, then you can simply call it in front end as following; <a href=”https://wordpress.stackexchange.com/questions/189157/<?php echo get_option(“text_box_value’ … Read more

How to create custom page templates with default page layout framework?

I think you are doing this right… but in the wrong direction. What if you separate your default structure like: content-header.php <?php get_header(); get_sidebar(); ?> <div id=”content”> content-footer.php </div> <?php get_footer(); ?> And then you can use get_template_part to put all together: index.php <?php get_template_part( ‘content’, ‘header’ ); ?> <?php while ( have_posts() ) { … Read more

How to add image for custom taxonomy

You can use get_object_taxonomies() as your solution. Returns all the taxonomies for a post type or post object: <?php get_object_taxonomies( $object, $output ); ?> Have you tried anything? something like this? // taxonomy term archives $post_type = get_post_type(); // find out if CPT $taxonomies = get_object_taxonomies($post_type); // Find taxonomies if($taxonomies){ foreach($taxonomies as $taxonomy){ // only … Read more

Making titles clickable

However the answer of your problem havebeen given But in your site i have seen another bug. In the right side bar of your site you have shown the product list but the title of the product is not showing click symbol on mouse hover like product image. If you want to solve that too … Read more