Home Forums Plugin Support WP Project Manager Pro Wrong link structure in calendar

This topic is: not resolved

This topic contains 2 replies, has 3 voices, and was last updated by  Nizam Uddin 5 years, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #17718

    Post count: 1

    In the front end calendar, there is a bug with the links to Milestones. Links to To-dos work correctly because the link format is “www.mywebsite.com/project/?project_id=301…” Links to Milestones do not work because the link structure is wrong. Notice the “/calendar/” in “www.mywebsite.com/calendar/?project_id=301…” Can you please correct and let me know where the fix must be made in the code? Thanks!


    Post count: 1555

    Thank you Taylor for the bug report. I am forwarding this to our main developers to fix asap and get back to you with a quick solution.


    Nizam Uddin
    Post count: 670

    Hello Taylor
    Just solved the problem, please wait for next release. If you don't want to wait for next release then go to line number 191 in urls.php of Project manager frontend addon
    and replace the following function..

    function milestone_index( $url, $project_id ) {
            $page_id = cpm_get_option('project');
            $url = add_query_arg( array(
                'project_id' => $project_id,
                'tab' => 'milestone',
                'action' => 'index'
            ), $this->get_permalink( $page_id ) );
         return $url;

    Please don't forget about Page Settings. Documentation is here http://docs.wedevs.com/frontend-page-settings/
    Thank you

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

The topic ‘Wrong link structure in calendar’ is closed to new replies.