Comments (3)
In plans 1 additional style for the filter that looks like dropdown.
To add search you will need to customize default templates for this filter. I don't think search will be added in the near future.
from visual-portfolio.
Had an issue when visitors would use the back button to return to a filtered results page.
Some devices cached the page in its original state, and others cached the page in it's filtered state.
(Behavior was very inconsistent. the same browser would behave differently on different devices)
I was able to conclude this was due to the way the AJAX call is used to reload the page, so that the query parameters are hidden from the address bar.
commenting out the e.preventDefault()
in assets/js/script.js allowed the page to transition naturally, using the query parameters. This allowed each filtered result to be cached as a page individually.
I've started looking into submitting a pull request to allow this to be a toggle setting, but was not sure exactly how to best implement this to match your style.
from visual-portfolio.
@Carson2006 which devices are you talking about? The latest Android Chrome and iOs Safari don't "cache" the page state.
Since we use AJAX loading without state change, the browser doesn't know the page was changed (actually it wasn't changed, we only loaded the new content for the Portfolio shortcode).
If you want to change address state once AJAX loaded, first we need to create better permalinks for the filters and sort. #7. But currently, I don't know how to make it possible.
p.s. Better to create a separate issue.
from visual-portfolio.
Related Issues (20)
- Since WP version 5.8.0 allowed_block_types is deprecated
- Enhance Paged Pagination
- Gallery Block Refactor, possible conflict HOT 2
- dynamic set of images as content source based on .....
- Thumbnail Sharpness HOT 5
- Problem HOT 1
- jQuery Event: init.vpf not working and no resizing on Window resize HOT 3
- Carousel click events are sporadic when using an Apple Magic Mouse 2 (A1657) HOT 1
- All video popup play at the same time HOT 1
- Slow filtering HOT 1
- Error when editing layouts, gallery blocks not showing HOT 3
- Alt Text and Title and Filename and Field Usage for Display Title Text and Sort Functionality
- saved layouts blank page HOT 2
- Preview layout issues in block theme editor in Firefox browser HOT 5
- "Move Overlay Under Image" option missing in the settings HOT 4
- Option to display post tags in elements HOT 1
- Avoid duplicates feature not working HOT 1
- Add link to single page post in popup video or image HOT 2
- Latest update 3.3.3 breaks post filters HOT 1
- conflict with oxygen HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from visual-portfolio.