• Resolved keengamer

    (@keengamer)


    Hi,

    this time I am having issues with the shortcode. Our 404 page is based on 404.php file. I try to show the suggestions but nothing is visible using

    <?php echo do_shortcode( ‘[abj404_solution_page_suggestions]’ ); ?>

    I know that in the past I saw it there but right now it’s not working. Any suggestions how to make it running? Adding some code to our functions.php?

    Thank you.
    K.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Aaron

    (@aaron13100)

    You need to not use <?php and only use the shortcode by adding it normally using the wordpress editor.

    Thread Starter keengamer

    (@keengamer)

    That is not possible. We don’t have in our theme a 404 page. It is only as a php file (or 404 template). If I put there only [abj404_solution_page_suggestions] then the same text is visible on the 404 page. So it must call the shortcode correctly… Using our solution does nothing, the suggestions are not visible.

    And if we create a new 404 page then as it is said in the other issue, suggestions and redirections do not work.

    Plugin Author Aaron

    (@aaron13100)

    I can’t help you use wordpress in that way.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Shortcode in 404.php’ is closed to new replies.