My site has some Custom Post Types which I organized in Pages to show them.
They are like blogrolls, so going to http://root/post-type one can see all the entries of this particular type.
For each Post Type I have a template file from which the specific page is gathering how to display them...
Post Type: Agenda
Page: Agenda -- template --> agenda.php
So, when going to http://root/agenda I expected the following parameters of the
$post object :
post_name => "agenda"
post_type => "page"`
The problem is that Wordprss SEO plugin (v. 188.8.131.52) is changing what is being served.
After installing it, instead of serving the page it is serving the post type first post... so the cited parameters become:
post_name => "the_whatever_post_slug"
post_type => "agenda"`
Well I don't understand why this is happening, I have a lot of code based on the previous structure and now it's broken. I still want to use the plugin, but I'm seeking to understand what is happening. And how (if possible) could I revert this.