I was looking at the conditional tag archive and wondering if it was possible to display a widget based on different messages / pages previously viewed by a visitor.
For example, if I had a car blog and the blog layout contains a sidebar widget that will display a promotion.
This promotion will vary depending on the types of messages visited by a visitor.
So, if a visitor was looking at publications related to the Mazda brand, I would be able to write a condition for the widget in the sidebar that reads, when he was visiting the blog post X, Y or Z, this widget will display a promotion for a Mazda car dealership near it.
Same for other types of cars and promotions.
I imagine that it would be impossible, but I thought that tracking a visitor with the help of cookies was a viable idea.
But I have problems with these fields with the "advanced" (not HTML ) widgets:
body is a text field with CKeditor
field_image is an ER field with an entity browser widget for media entities
field_roomamenity is an ER field with a self-completion widget for taxonomy terms
Can any one give me a hint on how to set these widgets by read-only?
Sidenote: I know that there is a read-only field widget module. But I do not want to change the type of widget because editors can create their own elements, which are not served by an external data source (where the fields remote_XXX). In these cases, publishers need these widgets in "write mode".
The problem is that each compressible container needs a unique identifier to find out which one is open or closed, but my problem is in "before_title". and & # 39; after_title & # 39; because I am not able to replace it with an identifier. Can someone help me? I'm still pretty new to WordPress.
I face this challenge with my personal portfolio: how to make a long case study more user-friendly to compensate for the excessive content that causes a lot of horizontal scrolling.
Current prototype of the website: https://daniel-portfolio.netlify.com/case/blacktrax-website
I've tried this:
Reduce Text – Worked for some sections, but ended up cutting important details for the case, although my case has a size two times smaller than that of Simon Pan's Uber case study .
The reduction in white space is still going on, but I do not want to reach a point where I have to sacrifice the presentation. My goal is to create something between Simon Pan's detailed model and a marketing landing page.
Replacing images for videos (work in progress in some sections)
In the case of a progressive disclosure, I would like to know your opinion on these widgets and their ease of use: