Home › Forums › Arnold WordPress Theme › Getting listing portfolio with filter
- This topic has 5 replies, 2 voices, and was last updated 1 year, 9 months ago by
SeaTheme.
Viewing 6 posts - 1 through 6 (of 6 total)
- AuthorPosts
- May 26, 2021 at 4:52 pm #24945
Hi,
I have a question. Is it posible to create a hyperlink which returns listing of portfolio items in one category (not generic portfolio page but only filtered).
Just like for example b52.com.pl/?s=druk returns search results of “druk”, b52.com.pl/portfolio/?….. could return a page listing with only this category.Is that possible?
Kind regards
MarcinMay 27, 2021 at 1:21 am #24946May 27, 2021 at 4:30 am #249532.0.0
May 28, 2021 at 3:28 am #24967Hi,
1.
Please paste the custom CSS code to “Appearance > Customize: Additional CSS”.filters-li { cursor:pointer; } .filters-li:hover .filter-num { opacity:1; } .filters-a { pointer-events: none; }
2. Add the custom JavaScript code by Simple Custom CSS and JS plugin (how):
jQuery(document).ready(function( $ ){ jQuery('.filters-li').on('click', function(){ let _url = jQuery(this).find('a').attr('href'); window.location.href = _url; }) });
May 28, 2021 at 4:44 am #24969Thanks.
After applying this code, how the example link would look like?
RegardsMay 28, 2021 at 11:20 am #24982 - AuthorPosts
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.