• Resolved pkmurphy1992

    (@pkmurphy1992)


    To the plugin developers,

    Currently loving the plugin and the functionality that it provides. However we have one question/ request and it’s to do when searching for pages, posts etc to restrict access too.

    One of our sites have a lot of pages named the same. For example ‘Day 1’ which are under a different parent page. Is they a way that I or potentially yourselves can edit the plugin so that either we can:
    – Add a URL directly to restrict
    – List the pages in hierarchy so we can see what parent they belong too.
    – Display the post/ page ID next to the title
    – Display the URL instead of the title

    Happy to discuss further and pay for development time if necessary.

    Regards

    Paul

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

    (@intoxstudio)

    To change the behaviour, open \restrict-user-access\lib\wp-content-aware-engine\module\post_type.php and find the method ajax_get_content, then change:

    $retval[$post->ID] = $post->post_title.$this->_post_states($post);

    to

    $retval[$post->ID] = $post->ID.' '.$post->post_title.$this->_post_states($post);

    Or anything else you’d prefer.

    Thread Starter pkmurphy1992

    (@pkmurphy1992)

    Thank you ever so much!

    I have implemented this into the site and it works.

    Thank you again!

    Plugin Author Joachim Jensen

    (@intoxstudio)

    That is great to hear! I will look into somehow adding this to the plugin, so you don’t have to edit it on every release.

    If you run into more problems, do not hesitate to open a new support thread here. And if you like Restrict User Access, please spend 2 minutes on a review here: https://www.ads-software.com/support/plugin/restrict-user-access/reviews/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Searching for pages, posts and custom post types’ is closed to new replies.