Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Content Views

    (@pt-guy)

    Hello,
    Blog page is special one, which use home.php or index.php file of active theme to show content.
    You will have to add this code
    <?php echo do_shortcode("[pt_view id=VIEWID]"); ?>
    to one of these files.

    Best regards,

    Thread Starter LasPalmas

    (@laspalmas)

    Thank you for your answer. Where do people typically add the grid? On a different page? Can I add the code anywhere on the file?

    Thread Starter LasPalmas

    (@laspalmas)

    Could you please tell me where to add the code? Here’s our blog:

    https://www.costa-del-tennis.com/blog/

    Here’s the code inside of page_blog.php

    <?php
    /**
    * Genesis Framework.
    *
    * WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances.
    * Please do all modifications in the form of a child theme.
    *
    * Template Name: Blog
    *
    * @package Genesis\Templates
    * @author StudioPress
    * @license GPL-2.0+
    * @link https://my.studiopress.com/themes/genesis/
    */

    // The blog page loop logic is located in lib/structure/loops.php.
    genesis();

    Thank you for your help.

    Plugin Author Content Views

    (@pt-guy)

    Because of Genesis uses its own function genesis() instead of explicit while loop of WordPress, you will need to write code to adjust Genesis framework content for Blog page. It goes beyond functions of Content Views, so I apologize I can’t support.

    With Content Views Pro, you can make it works without writing code. Because we developed a solution to show Grid in Special page (home, blog, search results, archive) for any themes & frameworks without coding.

    Best regards,

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘The grid won’t show’ is closed to new replies.