Best Answer gyoery , 31 July 2013 - 06:04 PM
never mind. I fixed that issue by hacking the core files. About talking to AP, well, it's not talking if he doesn't reply. I asked in the PL group on skype aswell. Also.. pagelines itsself is using CPTs so this might even be an internal bug, except that the PL CPTs are not queriable so luckily the core is not broken. But then again, nick, who made the pockets premium section, should be quite annoyed to find out that his plugin is not properly queriable cause it throws you on the wrong template. So while I understand this might not seem like a bug for the "out of the box" site PL provides, but it limits extendability for devs, so I look at it as a bug.
If anyone has the same issue, he can fix this by editing the pagelines/includes/class.template.php file.
!!!THIS IS NOT RECOMMENDED!!! and should only be done if you know what you are doing:
On line 106, 107 move the
elseif( pl_is_cpt() ) $type = get_post_type();
down by 4 rows under
elseif(is_search() && VPRO) $type = 'search';This will check first if you are on a search page, and only if not check if it is a custom post type.
This fix will most probably not stick if you update your core theme files, but this is the best I could come up with.
Again: THIS IS NOT RECOMMENDED
(and will hopefully be fixed in a future update) Go to the full post