• OK so i’m running a wordpress site with magic members plugin for a membership site. That all runs perfectly.

    I log into my dashboard make a post and click a check box “member” and the post is only visible to members, although the thumbnail is visible to all. Perfect thats what i want.

    SO here is the problem, The posts are being made by iphone and blackberry apps… so the magic members checkbox option isn’t available. The post appears on the site but no one has the membership level to view it as it’s not assigned. So i have to log in and edit the post. Click the checkbox and “update” every time a post is made. Obviously this isn’t great…

    SO i asked the plugin devs where the Membership type was stored in the database thinking i could get a hand and force the box to be checked a database level. It turns out this is way more complicated than i envisioned.

    The solution as i see it is a short code they have provided me, well two actually. One to insert before he post content and one after.

    I have tried various “post templates” but they are not visible in the mobile apps.

    SO now i’m wondering if i can just hard code the short codes into ALL posts made, like i say, one before the post data and one after.

    [user_account_is#member]

    POST CONTENT

    [/user_account_is]

    If anyone can help me with this i will be eternally grateful. I have no idea how or where to put these shortcakes!

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter treble6

    (@treble6)

    Shortcodes*

    Thread Starter treble6

    (@treble6)

    I tried this

    `<?php echo do_shortcode(‘[user_account_is#member]’); ?>
    <?php the_content(); ?>
    <?php echo do_shortcode(‘[/user_account_is]’); ?>`

    But the second short code appears as text. The function doesnt work without the execution of the second short code. Anyone see any obvious mistakes?

    have same problems.. short codes cannot be visible on mobile theme… anyone has solutions??

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

The topic ‘Short code in post problem.’ is closed to new replies.