• Resolved extinctdisney

    (@extinctdisney)


    I have this plugin setup to show the related posts at the end of each post, and that is continuing to work fine, but since the last update it appears that the manual entry of including the CRP plugin (i.e. adding the block) is no longer functioning. Case in point, I use the manual entry on my landing page linked above and you’ll see its nothing but white space on the right of the page where 6 random posts would previously appear. I tried removing and recreating the block to no avail.

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Ajay

    (@ajay)

    @extinctdisney

    Does the automatic install work? Will you be able to install Query Monitor and check what are the queries generated and if the plugin finds posts.

    https://webberzone.com/support/knowledgebase/debugging-with-query-monitor/

    Thread Starter extinctdisney

    (@extinctdisney)

    I’m not sure I understand the question “Does the automatic install work?” The only thing I am having trouble with is when I manually try to place CRP on my landing page. The automatic placement of the CRP at the specified location for each blog post is functioning fine. It is on my main landing page, where I added the CRP block, that the block renders blank. In fact, when I am in “edit” mode for my landing page, and add the block, it actually displays “Block rendered as empty” in place of where the CRP block should be.

    Main landing page: https://extinctdisney.com (CRP should appear in what you see as white space on the right)

    Post example: https://www.extinctdisney.com/flight-to-the-moon/ (CRP is displaying as it should near the bottom of the post)

    Plugin Author Ajay

    (@ajay)

    The second link answers my question on the automatic install.

    By any chance do you have PolyLang or similar installed? I noticed a conflict with the block in the editor sometimes but works normally on the rendered page. But, I don’t know the workaround!

    On Query Monitor, I’ll need to see what the query is on your landing page where CRP is blank. That’s the last screenshot in the link I posted.

    Another alternative is that instead of using the block, can you try using the shortcode block and passing [crp] as the short code

    • This reply was modified 3 years, 11 months ago by Ajay.
    Thread Starter extinctdisney

    (@extinctdisney)

    Query information on landing page:
    SELECT option_name, option_value
    FROM _PGF_options
    WHERE autoload = ‘yes’
    wp_load_alloptions()

    Plugin Author Ajay

    (@ajay)

    @extinctdisney

    That doesn’t look at the plugin’s query. Are you able to please see the tutorial above and find the query from my plugin.

    Have you tried the shortcode option to see if that renders?

    Thread Starter extinctdisney

    (@extinctdisney)

    I’d love to try to shortcode but I have no idea what the context for it should be. Can you please provide that?

    If that doesn’t work, I’ll get the right query for you. Thanks!

    Plugin Author Ajay

    (@ajay)

    are you using some kind of page builder for the landing page or a specific template?

    if it’s the former, there might be a shortcode block or similar where you an just enter [crp]

    If you’re coding it into the theme, you can try <?php echo do_shortcode( '[crp]' ); ?>

    Thread Starter extinctdisney

    (@extinctdisney)

    No page builder or template. Just adding WordPress blocks and shortcode where I want it with plugins that control what is visible on mobile vs. desktop.

    Simply entering “[CRP]” into a shortcode block doesn’t seem to do anything. Is there no further context?

    For giggles I entered the php code using both the code block as well as a plugin that converts php to shortcode and neither worked.

    • This reply was modified 3 years, 11 months ago by extinctdisney.
    Thread Starter extinctdisney

    (@extinctdisney)

    Found alternate solution.

    Plugin Author Ajay

    (@ajay)

    How did you solve it? @extinctdisney

    Thread Starter extinctdisney

    (@extinctdisney)

    I believe the issue was related to the fact that the landing page wasn’t in any categories.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Manual CRP Renders Empty’ is closed to new replies.