• Great plugin! I’m experimenting with using it in a course blogging scenario, where students will be posting in various categories.

    In VirtualPages.php, I’ve modified the query to be a boolean-and rather than the current boolean-or, so the virtual page will only show posts that are in all of the categories selected for it.

    Line 582, changes from:

    $params['cat'] = implode(',', $options['categories']);

    to:

    $params['category__and'] = $options['categories'];

    Now to try to figure out a way to automatically add the virtual pages to the menu structure…

    http://ww.wp.xz.cn/extend/plugins/virtual-pages/

The topic ‘[Plugin: Virtual Pages] category "boolean and"’ is closed to new replies.