Genesis Child Theme – Customize body

You need to add the Loop to your template to display post content. Regular loop (the current page). <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <article> <h2><?php the_title(); ?></h2> </article> <?php endwhile; ?> <?php // Navigation ?> <?php else : ?> <?php // No Posts Found ?> <?php endif; ?> Custom … Read more

Problem with pagination link (error 404)

I have something here that I used on the website of a real estate agency You’re already using Bootstrap. But, take a look https://getbootstrap.com/docs/4.0/components/pagination/ In your code, a line before var $actualPagina = get_query_var… Add: global $actualPagina; So here’s what you do… Replace <?php get_template_part ( ‘paginacion_prop’ );?> by <?php thomas_pagination($propiedades->max_num_pages);?> In your functions.php enter … Read more

Can’t embed certain youtube videos into theme

I had recently similar issue with Divi and embedding videos. At the end I realized its because oEmbed issues in WordPress sites running on host with both IPv4 and IPv6 sites. Either you can add this code to your functions.php to fix this: add_action( ‘http_api_curl’, function( $curl_handle ) { curl_setopt( $curl_handle, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 ); }); … Read more