Links Image in “Catalog” Page to Posts

In your function virtarich_katalog_function wrap the thumbnail with an <a> link tag like this: function virtarich_katalog_function() { global $post; $vtr_query = new WP_Query(‘showposts=10000’); while ($vtr_query->have_posts()) : $vtr_query->the_post(); ?> <div class=”col-md-3 ikibro”> <div class=”wpagen-produk”> <div class=”katalog-gambar-center”> <div class=”katalog-gambar”><a href=”https://wordpress.stackexchange.com/questions/260406/<?php the_permalink() ?>” title=”<?php the_title(); ?>”><?php virtarich_thumb_normal() ?></a></div> </div> <div class=”katalog-title”><?php the_title(); ?></div> <div class=”katalog-harga”>Rp <?php virtarich_harga(); ?><span … Read more

How can I add a custom checkbox / radio button on the admin theme options to display a CSS or other?

This is a fairly broad question. There are many approaches thinkable, but here is the lay-out for an easy one: Build a child theme, consisting only of a style.css. Find the id of the highest level wrapper in the theme, let’s say 2016id In style.css add style rules that depend on the class of the … Read more