2014-02-09, 23:04:06
I need to have news in two different pages (tips/recipes). I have tried what teejay suggested and added a small fix:
The problem is, that when you click the link in tips, it goes to www........com/recipes/post/tip, because the page for news is set to recipes by default. (When it should be tips/post/tip)
Is there anything i can change in the plugin or are there any special php calls to do this?
Help appreciated!
Code:
<?php
if (return_page_slug()=='recipes' && !nm_is_single())
nm_show_tag('recipes');
else if (return_page_slug()=='tips' && !nm_is_single())
nm_show_tag('tips');
else
insert_page_content();
?>
The problem is, that when you click the link in tips, it goes to www........com/recipes/post/tip, because the page for news is set to recipes by default. (When it should be tips/post/tip)
Is there anything i can change in the plugin or are there any special php calls to do this?
Help appreciated!