• Resolved onkelniete

    (@onkelniete)


    Hello to all,
    I want to write the entry”[user-submitted-posts]” to the wordpress file to aktivate the input field on my page.

    But I don’t know which file, php or html, and what position.

    Thank you for answering.

    Nico

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Hi Nico, I want to help but not sure what you are asking. Can you clarify or elaborate so I can understand and try to help, thank you.

    Thread Starter onkelniete

    (@onkelniete)

    Hi Jeff,
    it should be very easy for you, but it is all new for me.

    You write in the installation file: “To display the form on any WP Post, Page, or widget, add the shortcode:
    [user-submitted-posts]”

    But I dont know which file I have to change.

    Plugin Author Jeff Starr

    (@specialk)

    Okay thanks, I think I understand; you are asking where to add the USP shortcode that displays the form, correct? If so, you can copy/paste [user-submitted-posts] to any WP Post or Page. So for example, if you have a Page named something like “Submit a Post” or whatever, you can visit the page in the Admin Area, under the Edit Page screen. There you can add content to your page and so forth. So in the content area of the page, paste the shortcode and save changes. Then visit the page on the front-end, you will see the form displayed.

    Thread Starter onkelniete

    (@onkelniete)

    Hi Jeff,
    My page is only shown in the theme editor, not in dashboard/all pages.

    In theme-editor, I tried to copy the text in any files, but not css.

    I tried also theme.php , header.php and index.php and saved changes every time.

    There is no new window in the frontend.

    Any ideas left?

    Plugin Author Jeff Starr

    (@specialk)

    I’ve never heard of WP Pages that are not displayed in the Admin Area under the Pages menu, but OK. So you are editing the pages directly via PHP/code editor, correct? If so, WordPress provides a function to call any shortcode. For USP shortcode, it would look like this:

    echo do_shortcode('[user-submitted-posts]');

    But for that to work, the pages must be handled/processed by WP. If the pages are outside the scope of WP, then core functions like do_shortcode() will not work (and neither will shortcodes). That is to say that, WordPress plugins such as USP require WP core functionality in order to work properly.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘user submitted posts install’ is closed to new replies.