• Resolved brettr

    (@brettr)


    I have the following in a PHP Code widget named “my widget”.

    <?php
    Echo “Hello, World!”;
    ?>

    I installed “amr shortcode any widget” since there doesn’t seem to be any way to add a widget to a page.

    I then pasted this into a page:

    [do_widget “my widget”]

    All I see in the page is an exclamation mark where the PHP output should display. You have some idea what I’m doing wrong?

    Isn’t there a way to get this into a page without having to install another plugin?

    https://wordpress.org/plugins/php-code-widget/

Viewing 1 replies (of 1 total)
  • Plugin Author Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    The plugin is just a widget. It will go anywhere a widget can be placed in your theme. Where your theme puts the widgets is really up to the theme.

Viewing 1 replies (of 1 total)
  • The topic ‘How to add to page?’ is closed to new replies.