Forums

How to make plugin accessible to userside without Edit Theme (1 post)

  1. anes_pa
    Member
    Posted 2 years ago #

    Hello Pals,
    I am newbie Developer in WordPress (Not PHP!). I am now creating a Plugin for a site in which Admin can make Premium as well as Normal Posts . In Premium post , only Registered and Logined user Can Read the Content of blog. All users can view the Blogs , but only Premium users can Read premium Blog. Normal Blog can read to all . I implemented the creation of Admin post part by impart a checkbox for select whether a blog is Premium or not , and save POSTID and status (0=Normal Blog),(1=Premium Blog). I am done that level perfect. But in user level I plan to hide the main Content of Premium post . But how it can I done through the plugin without edit the theme file ? All users can see Blog list , but premium users only can read Premium post.... Pls give a reply If You have any idea ...... I attach the code of my application here ... ok pls help me

    phase1.php
    ------------------
    [moderated huge chunk of code - please use a pastebin or link to file]

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.