WordPress.org

Ready to get started?Download WordPress

Forums

Easy Sign Up
[resolved] Shortcode does not work in loop.php (11 posts)

  1. _TM
    Member
    Posted 1 year ago #

    Hi,

    I would like to run the plugin in WordPress' loop.php but using [easy_sign_up] as a shortcode doesn't work. Guess I have to enter some php code here, but I have no clue where to find it.

    Would be great if anyone could help.
    Thx!

    http://wordpress.org/extend/plugins/easy-sign-up/

  2. Greenweb
    Member
    Plugin Author

    Posted 1 year ago #

  3. _TM
    Member
    Posted 1 year ago #

    Sorry, here's the missing information:

    Plugin Name and version:

    Easy Sign Up 3.1.2

    I did this:

    Pasted the short code [easy_sign_up] into WordPress' loop.php

    I expected the plugin to do this:

    To show a sign up form

    Instead it did this:

    Instead of showing a sign up form it only displayed the short code

  4. Greenweb
    Member
    Plugin Author

    Posted 1 year ago #

    Did you try any of the following:

    to test what’s wrong, disable all your other plugins and switch to the default WordPress theme. If the problem does not go away, open a support topic, if not, figure out which plugin is the cause of the problem and open a thread mentioning both plugins

  5. Greenweb
    Member
    Plugin Author

    Posted 1 year ago #

    Pasted the short code [easy_sign_up] into WordPress' loop.php

    Short code does not go into the loop it goes into the text of your post

  6. _TM
    Member
    Posted 1 year ago #

    I know it belongs into the text of my posts and everything does work perfectly when I put it the there.

    But as I mentioned above I need to get it working in loops.php (footer.php would be ok too) and that's why I was asking for the PHP code.

    :)

  7. Greenweb
    Member
    Plugin Author

    Posted 1 year ago #

    Okay that's a quick fix then see this function http://codex.wordpress.org/Function_Reference/do_shortcode

  8. _TM
    Member
    Posted 1 year ago #

    Thanks, that's exactly what I was looking for!

    Here is the code:
    <?php echo do_shortcode ('[easy_sign_up]'); ?>

  9. Greenweb
    Member
    Plugin Author

    Posted 1 year ago #

    Hey _TM if you liked the plugin and the support please give it a review at http://wordpress.org/support/view/plugin-reviews/easy-sign-up

  10. webdesigninghisar
    Member
    Posted 1 year ago #

    i have same problem <?php echo do_shortcode('[jpshare]') ?> that code is not working inside loop and it is working very well instead loop.php any one please suggest me

  11. Greenweb
    Member
    Plugin Author

    Posted 1 year ago #

    webdesigninghisar your question is not related to the Easy Sign Up plugin. You'll have better luck in this forum: http://wordpress.org/support/forum/how-to-and-troubleshooting

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags