How to remove the term “category” from category pagination?

Why does the problem in pagination happens? Say you have a category named wiki. Now, when you have a category URL like: https://example.com/wiki (instead of https://example.com/category/wiki) and say page or post URL like: https://example.com/a-page or https://example.com/category-slug/a-post WordPress has really no way of knowing if https://example.com/wiki/page/2 is a the second page of another page / post, … Read more

How to get permalinks with category base working with sub-categories

I was able to get this to work pretty easily actually. I am now able to have my category base in my permalinks. This allows me to now have URLs like: http://www.new1450.dev/industries/ {Main blog post only showing category selection} http://www.new1450.dev/industries/development/ {a parent category} http://www.new1450.dev/industries/development/parent-category-i/ {child of parent} http://www.new1450.dev/industries/development/parent-category-i/child-category-i/ {child of child} http://www.new1450.dev/industries/development/parent-category-i/child-category-i/some-cool-post/ {actual post} This … Read more

Individual rss feed entry length for categories?

You should be able to use pre_get_posts and set the posts_per_page to 50 conditionally (on being feed for categories). Unfortunately there is this unresolved trac ticket. The only work-around is to do hook into post_limits and replace the LIMIT part of the SQL query directly. add_action(‘post_limits’,’wpse71759_category_rss_limit’,10,2); function wpse71759_category_rss_limit($limit, $query){ if( $query->is_feed() && $query->is_category() ){ $paged … Read more