Forum Replies Created
-
AuthorPosts
-
December 9, 2020 at 10:38 am in reply to: CPT category archive page redirections to WP Show Posts page #24046
Daniel
ParticipantThanks Elvin,
I couldn’t use the solution you gave me because in addition to redirecting the archive page I also needed to redirect the posts within the events category to the page with Wp Show Posts.
I had tried several snippets and none of them worked. Now I have seen that instead of using the elements section inside GP, if I use the Code Snippets plugin the redirections worked correctly.
Could it be that when using the hook wp_head inside elements they didn’t work for that reason?
This is the snippet that worked for me using Code Snippets in case it can be helpful for someone else:
function redirect_events_posts_and_category() { if ( (is_category( 'events' ) || in_category('events'))) { wp_redirect( site_url( 'events/' ), 301 ); die; } } add_action( 'template_redirect', 'redirect_events_posts_and_category');
December 3, 2020 at 8:28 am in reply to: Using lightbox gallery with FacetWP do not seem to work #23708Daniel
ParticipantNo problem, as I told you, it is not an essential need for my website.
I hope that Wp Show Posts will soon include the option for filtering the posts.
Daniel
ParticipantI hope to get a chance to try out that new version as soon as possible.
Regards!November 30, 2020 at 1:36 am in reply to: Using lightbox gallery with FacetWP do not seem to work #23412Daniel
ParticipantHi, thanks for your help.
My knowledge of javascript is very limited I found this page in the FacetWP help where they point out something about the trigger when the page is refreshed but I don’t know what to do with it.
FWP.refresh(); // Parse the facets and trigger an ajax refresh
https://facetwp.com/documentation/developers/javascript/js-objects/
As I was saying in my other question in the forum, if you think there is a simple solution you can offer me, it would be great, but if not, I can leave the website working without the gallery option.
Thanks!
Daniel
ParticipantThanks for your help Tom!
Unfortunately the solution you offered me did not work.
http://lagui.es/disenos-puertas/
I understand that this kind of problems are beyond the scope of WPShow Posts.
I was simply asking if there would be any simple solution to apply, but there has been no luck.
It’s really not essential to display the name next to the images in the lightbox.
Thanks anyway.
Daniel
ParticipantNow it works perfectly!
Thank you very much.
Daniel
ParticipantThanks for your reply Tom.
I used the code you provided and changed list ID with the right one but it doesn´t work.
The code I’m using is to display a custom image. With the updated code you gave me the image does not appear anymore. It’s like the code is not applied to the list anymore althought I changed the ID to the right one.Daniel
ParticipantPerfect,
Thanks!
Daniel
ParticipantThanks Tom!
Of course it works perfectly.
Daniel
ParticipantYou’re right, it looks like the sticky post doesn’t work within the category archive.
Anyway, I solved it by creating two WP Show Post lists, one to show the sticky and the other to show the list filtered with the categories.
Thanks for the help!
DanielDaniel
ParticipantI’ve installed the latest release and the problem is fixed.
Thanks Tom! 🙂
Daniel
ParticipantI’m using the code snippets plugin to add and activate it.
Daniel
ParticipantThanks Tom!
I tried the function but it doesn’t work. The edit list screen is still loading the tags and freezing.
Daniel
ParticipantHi there!
I just want to say that this functionality will really be very useful for portfolio websites.
Hope it will be added soon.Daniel
ParticipantIt really helps!
As always, thank you for your support Tom. -
AuthorPosts