I think that when you are filtering
, you are using an onpage action that hides what is not on the category clicked (done with JavaScript, usually with jQuery), and when you go to another page, you are getting a new page from the server, so your filter disappear.
I think that this behaviour is ok, and to acomplish what you expect, you need to implement a search form, where you can specify the category parameter for cats and dogs.
Related Posts:
- What is the correct way to use WordPress functions outside WordPress files?
- WP-CLI – Selecting PHP version
- Hide php Notices in Dashboard
- Place page title in header?
- Shortcode to insert
- WordPress new user / forgot password emails are broken
- How to get year, month and hour in WordPress?
- Calling a method from functions.php on a click of a button
- Specified file failed upload test. wp_upload_handle
- Want to separate sections of posts. Can you restart loop?
- How to change featured content to a different tag in WordPress Twenty Fourteen?
- Using Echo in ShortCode – Stuck
- How do I create comment-reply-button using element not
- Two posts in same div – WP loop
- Compare two meta key values against each other inside the get_posts array?
- Removing WordPress profile fields from non-admins
- WordPress menu deletes when trying to add a hook
- Issue with foreach on duplicate meta_key’s
- Why am I getting ERR_NAME_NOT_RESOLVED when I add a site to my multisite installation? [closed]
- How to display custom field on homepage
- Show custom field if it exists, and show different elements if it doesn’t
- Making Quote Plugin more efficient
- Different database query in function.php using mysqli
- Create shortcodes within foreach loop (using array)
- Programmatically add and remove woocommerce product category
- Get image’s size name from it’s dimension
- PHP Warning: Attempt to read property “term_id” on bool
- Cannot access wp-admin/wp-login.php (WordPress backend) anymore, what could be wrong?
- wp_enqueue_scripts leads to error
- Passing UTM Parameters To Modify Page In WordPress
- How can I get the values of my WordPress $wpdb query in Jquery?
- How create a Shortcode with hover and complex options
- WordPress SQL injection
- Adding wrapper elements in the_date() like in the_title()?
- Plugin Generate Unexpected output during activation
- How can I display a div ONLY if it is not a certain term page
- PHP code for displaying WordPress posts in a static page not working
- WordPress hit memory limit but not from the server
- How to override url params with rewrite rules vars?
- How to render a block from php template
- Output: “Array”
- Filter results from a serialized string to use on statistics
- How to add data to a custom field at the wp_users table?
- Calculate days between two custom field value dates
- form built dynamically with php, not submitting
- Post to WordPress from another Server via PHP
- How to make a cookie be on the whole site instead of being on a specific page/
- Child Theme’s Read More Text
- call a string/function from database
- Get date function not working
- Grabing default from cuztomizer php file instead of other php script
- Unset all main menu items except those with $menu_object->title == ‘x’
- Deleting records with AJAX, deleting records as I search
- Create ACF Checkbox to get all ACF Values from Parent Page
- How a HTML form can trigger a PHP function?
- Custom Login page, redirection and restrictions
- ACF Taxonomy field values not select in backend
- Passing Current User ID into SQL statement
- Load WordPress core but with specific plugins
- Dynamic “home” image and URL based on current folder
- Warning in WordPress for Declaration of SplitMenuWalker::walk($elements, $max_depth) [duplicate]
- How to output values from a loop into a javascript array
- custom post type column countdown
- Right way to display the_author_meta fields?
- Creating wordpress user registration form
- Add missing alt tag to featured images for “storefront” theme
- Comparing Dates within plugin using PHP If statement
- what’s the syntax for if the image exists get the image?
- Clone the “proceed to cart” button and place it above checkout on the cart page, but only appear display size is 320px
- Highlight Single Page Ancestor
- offset and max_num_pages in pagination gallery
- Passing link parameter values to form
- Processing forms with php to wordpress database
- Registration form not registering First and Last name
- Removing get_template_part in child theme
- Best way to define a database with product codes and back-end support?
- Is there a way to randomize and connect a background and header image?
- Post Thumbnail on Single (if elseif else)
- Display pages from specific page template
- If Elseif Query
- Querying multiple meta_keys in WordPress SQL query
- dynamically filter by category via sub-menu
- 3 domains, 1 wordpress install, redirecting and changing domains on live site
- Sidebar doesnt get updated?
- Edit the Publish Widget Options
- How can I print out a single stylesheet or javascript link?
- WordPress post pagination on custom template not working
- get_option(‘admin_email’) not working in wordpress when using ajax call
- wordpress featured image
- Generating a number based on post ID
- How can I edit the WooCommerce Mini DropDown Cart to read as follows
- Disable Typed Parameters for JavaScript in PhpStorm? [closed]
- Properly process a custom WP REST API request (Authenticate, Authorize + Validate)?
- Losing Session ID and sessionStorage when navigating to other domains on Multisite
- SQL – How to echo out inside of where statement
- How to create different templates for woocommerce single-product.php?
- How can I update a value of a field depending on outside source?
- Restricting access to a file for everyone except logged in users
- WordPress Block Editor Gutenberg running code inside ! is_admin()
- Tags being Inserted in html from plugin PHP not passing through the_content