Support » Plugin: Frontier Post » Shortcode not allowed in post type – post

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author finnj

    (@finnj)

    Hi,

    It is a security precaution that frontier-post shortcode only is allowed in pages.

    Reason for this is that allowing users to add the shortcode in posts could expose information the user shouldn’t have access to.

    In what post type are you trying to add the shortcode.

    Thread Starter vhankim

    (@vhankim)

    Hi finnj.

    I try to add to the Buddypress profile menu contents.

    I confirmed using Google developer tools. Buddypress profile page post-type is ‘page’.

    I do not know what went wrong…

    Plugin Author finnj

    (@finnj)

    Can you access the page from edit page in the admin module

    Thread Starter vhankim

    (@vhankim)

    Yes i can

    Plugin Author finnj

    (@finnj)

    this is strange.

    I am wondering if BuddyPress does some kind of manipulation.

    Thread Starter vhankim

    (@vhankim)

    hmmm… this issue from the using theme?

    Plugin Author finnj

    (@finnj)

    What theme are you using ?

    Thread Starter vhankim

    (@vhankim)

    Plugin Author finnj

    (@finnj)

    Seems to be OK, I am out of options why you page is considered to be another post type

    Thread Starter vhankim

    (@vhankim)

    Thanks for your confirm.

    Is there anything I can ever do? Or, do I have to wait for the update?

    Plugin Author finnj

    (@finnj)

    Hi,

    Yes I believe so. I am considering to allow the shortcode in other post types than pages.

    You can download a version 3.6.6 here or go to the developer tab and download it.

    it contains updated widgets due to a change in WordPress core for version 4.3 that is released next week, so be aware that you most likely will have to add the frontier widgets again (if you use them at all)

    3.6.6 also adds the posibility to return to frontier post instead of backend from PressThis

    I have added 2 changes to address your issue, and I hope you will test them:
    1: The error message now contains info on the post-type being displayed, the post id and if it a single post or multiple post view (S/M).
    2: In advanced settings you can now choose which post types to allow frontier-post shortcode in.

    Be aware that it can have side effects, if the short code is in a post that is displayed in a search.

    let me know if it solves your issue.

    I expect to release a new version in a couple of days to adress the WP 4.3 changes. I am not sure if the above change will make this release as it needs to be tested – but here you can help 🙂

    Thread Starter vhankim

    (@vhankim)

    thanks for your great support. 🙂

    post-type change function was working well.

    but.. this function was not working in ‘buddypress profile page’ – I don’t know this page’s post-type… post-type select element & name was not appeared in plugin setting page.

    Plugin Author finnj

    (@finnj)

    How did it not work ?

    If there was an error, the error message should contain the error message

    Thread Starter vhankim

    (@vhankim)

    I cannot found any error message… just not see

    and i can see just shortcode text, when disabled plugin.

    Plugin Author finnj

    (@finnj)

    Hmm, then I am out of options, sorry

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Shortcode not allowed in post type – post’ is closed to new replies.