How can I support plugins in a custom theme?

Underscores.me Framework has integrated support for Jetpack’s Infinite Scroll feature – you could just install the Automattic JetPack plugin and ensure that the Infinite Scroll feature is enabled. Lines 155-156 of the default underscores.me framework add Jetpack support if it’s installed: /** * Load Jetpack compatibility file. */ if ( defined( ‘JETPACK__VERSION’ ) ) { … Read more

Double Curly Brackets in Php

In your example {{image-about}} tells WordPress to use the image defined in [‘attachments’][‘image-about’] as the thumbnail for those posts in the ‘starter content’. This functionality is specific to the “Starter Content” feature added in WordPress 4.7, which is described here, and not a PHP language feature.

Pagination doesnt work in custom post type

Taxonomy archive templates should not require a custom WP_Query. WordPress automatically queries the correct posts. Just use the main loop, without $loop->. You had already been doing this but commented it out for some reason. <?php get_header(); ?> <main role=”main”> <!– section –> <?php get_template_part( ‘breadcrumb’ );?> <!– Inner Pages Main Section –> <section class=”ulockd-service-details”> … Read more