Display all posts in a page code for template

That’s because the code you listed only includes a reference for the title and the link. Here’s your original code, annotated … Original <?php $debut = 0; //The first article to be displayed ?> <?php while(have_posts()) : the_post(); ?> <!– Display the title of the current page that’s listing your posts –> <h2><?php the_title(); ?></h2> … Read more

How do I edit a plugin’s core properly?

If you look a little further down in the source of Breadcrumb Trail, you’ll notice this line: /* Apply filters to the arguments. */ $args = apply_filters( ‘breadcrumb_trail_args’, $args ); The author has made it possible for you to do exactly what you need, without editing the core file! Simply hook into the breadcrumb_trail_args filter … Read more

Very Simple Geo targeting

I personally really like the GEO service provided by ip-api.com It is very simple to use and a sample PHP code to grab the countryCode would give you what you need very simply. You can do MUCH more and you can read the full doc on it but for your specific needs listed, here is … Read more

Loop on a wordpress Page instead of content coming from the WP text editor

On your custom page template, the default loop is working and that’s why the loop is fetching content from the page. You need a custom query in this case. Here’s the code. <?php $query = new WP_Query( array( ‘post_type’ => ‘post’, ‘post_status’ => ‘publish’, ) ); if ( $query->have_posts() ) { while ( $query->have_posts() ) … Read more

Suddenly, all links in #content div are not clickable, but I don’t see any z-index bug? [closed]

That’s easy. You have the following CSS rule: a.themify_lightbox, .module-image a, .module-gallery a, .gallery-icon, .themify_lightboxed_images .post a, .themify_lightboxed_images .type-page a, .themify_lightboxed_images .type-highlight a, .themify_lightboxed_images .type-slider a { pointer-events: none; cursor: default; } This rule applies because body has a class themify_lightboxed_images. pointer-events: none; is the last thing you want on your links. This basically means … Read more