neverStopAL
Forum Replies Created
-
Forum: Plugins
In reply to: [Search Everything] Search everything does not show authorsI am wondering the same thing.
Forum: Plugins
In reply to: [WP Category Permalink] Fatal Error after adding the Pro KeyNow I am getting this error in /wp-admin/. “An error occured in WP Category Permalink.” In my MAMP php log in am gettin “[20-Sep-2016 02:03:07 UTC] Invalid taxonomy.”. But I know the taxonomy is valid; it’s a term in the Category taxonomy.
- This reply was modified 9 years, 6 months ago by neverStopAL.
Forum: Plugins
In reply to: [WP Category Permalink] Fatal Error after adding the Pro KeyI rolled back to version 2.8, and now I am not getting the fatal error, but I still cannot set the Primary Category on my custom post types. I have turned off all my plugins, except this one and WP Permastructure, which I use to add the /%category%/%postname%/ to my custom post types.
Forum: Fixing WordPress
In reply to: Complicated Permalink StructureWe made the decision to remove the top level categories. All the other filters work ok now with Custom Post Types.
Forum: Plugins
In reply to: [WP Category Permalink] Adds Parent Category back to permalinkNo worries. One of my teammates wrote a custom db query to accomplish it. Thanks again for all your help.
Forum: Plugins
In reply to: [WP Category Permalink] Adds Parent Category back to permalinkHi Yaniv,
Sorry so long to reply. I am unfortunately working behind a firewall here that won’t allow for you to see the code. But I’ll try to explain. I am trying to apply next/previous post links on a page in an infinite loop. So, when you always see 2 links. The solution worked fine (using get_adjacent_posts() & get_next/prev_posts() ) until the client decided to add Secondary Categories as a requirement. So now I have had 2 problems.First problem: The original problem was that I filter the permalink. For instance this is the structure: http://site.com/category/parent-category/sibling-category/post. With the filter the permlink becomes http://site.com/sibling-category/post. When I use the plugin to change the Primary category the permalink was getting the Parent category again like so: http://site.com/parent-category/sibling-category/post. I found a second filter in the functions.php file that was causing that. I’ve disabled that. One problem solved. 🙂
Second/new problem The next/previous links loop now includes posts that have the existing post’s Primary category as a Secondary Category. When the user clicks a next/previous link to a post with a different Primary Category, the next/previous loop is now looping through a different set of articles. This is for me an unacceptable user experience. I need to query to find the Primary Category and exclude posts that have a different Primary Category. Have you seen a need for that in the past?
Forum: Plugins
In reply to: [WP Category Permalink] Adds Parent Category back to permalinkYes, that is what I’m seeing. The filter, that is removing the parent category from post link, is not being ‘hit’ again after the plugin’s permalink button click makes the link bold, making it primary… Is there a way to “refresh” the categories (or force the post link filter to rerun) after the new Primary category is discovered?