Support » Plugin: Permalink Manager Lite » Posts not showing in “all” category

  • Resolved marshallgoren

    (@marshallgoren)


    Hi

    I’m having issues with Permalinik Manager. When it’s activated, when I go to **edited problem solved** no posts show up, however if I go into a child category such as **edited problem solved** posts show up. This problem is rectified if I disable the permalink manager plugin.

    Thank you

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

    (@mbis)

    Hi @marshallgoren,

    the top category page (/destinations/) is overwritten by the page with ID #250. Go to the below URL to check what content element my plugin detected:
    https://journeytheplanet.com/destinations/?debug_url=1

    To fix this issue, you can either remove that page (#250), change its custom permalink to some different URI or simply make my plugin ignore it (with a custom snippet):

    function pm_exclude_permalinks($element_id, $uri_parts) {
    	if(!empty($element_id) && $element_id == 250) {
    		return false;
    	}
    
    	return $element_id;
    }
    add_action('permalink_manager_detected_element_id', 'pm_exclude_permalinks', 9999, 2);

    If you decide to use the snippet, please paste it to functions.php in (child) theme directory.

    Best regards,
    Maciej

    Thread Starter marshallgoren

    (@marshallgoren)

    @mbis

    Legend, mega fast support.. not sure why that page was there but I’ve removed it and everything works perfect again.

    Thank you so much!

    Plugin Author Maciej Bis

    (@mbis)

    @marshallgoren,

    No problem at all, I am happy to help đŸ™‚

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.