Support » Plugin: Frontier Post » Permalink in list for s2member levels

  • Resolved blauweogen


    Hi, I am using s2member and I noticed that when a user in level1 or level2 views their list of posts the link to the article (not the edit link) is not a permalink and does not work.

    I am not sure why. I can’t select Frontier Edit in the settings for s2member levels, so perhaps that is why?

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


    Strange, should not have anything to do with s2members

    I only have my iPad available until tomorrow, but I discovered that I have used post_permalink() instead of get_permalink(), post_permalink is for custom post types.

    If you want to try you can edit the below line in frontier_my_posts_widget.php in the include directory, replacing post_permalink with get_permalink

    <a href="<?php echo post_permalink($post->post_id);?>"><?php echo $post->post_title;?></a>

    Plugin Author finnj


    Maybe I misunderstood you, if it is the list of posts and not the widget, it could be a different story.

    What version are you using ?

    I have changed the behavior in the list a bit, so if posts are not published there is no link, but a preview link (right side) instead, the preview link was added in 1.5.7.

    The post_permalink is also in frontier_list.php in forms directory, you can follow the instructions above, if it is for published posts.

    Sorry, but it is not easy doing debugging with an iPad ….

    Hmm, my brain must be fried, I just realized it is a draft and not published post. I removed the link. I will look at updating, but I will have a few modifications to reimplement. (still on 1.4.9)

    Thanks for a great plugin, and answers! Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Permalink in list for s2member levels’ is closed to new replies.