-
johnottomagee
Hello Support !
I’d like to come back to this topic of mine.
I had given it the title of “Split-Screen.”To avoid confusion I am renaming it “Query Loop.”
Ying got involved in the Split-Screen discussion.
And helped me to solve a related problem.
Thank you, Ying !For reasons of clarity I then closed out that topic.
I am re-opening it, to see if we can get split-screen/query loop to work.Please see below my dialogue with David.
________________________________________
John:
UC has two main pieces:
The first piece consists of intercultural statements.
They are pages, not posts.
Text-only. No images. No videos.Currently on UC there are ten topics.
See them in the drop-down menus.
In the primary navigation:
Germany, United States, Contrasts.
https://understand-culture.com/
As a guest you have access to Persuasion.Ok, that’s the first piece of UC.
Intercultural statements.
Pages, not posts.
Text-only. No images. No videos.The second piece consists of examples.
They are posts, not pages:
text … videos … i-framely links to articles.The examples are grouped by categories and tags.
I call a group of examples a pattern.
In how Germans think. In how Americans think.
I am using a plugin for that.Currently, users go from an intercultural statement
to the examples illustrating that statement b
y clicking on the term “Patterns.”See at the end of each respective intercultural
statement the clickable term “Patterns.”See five intercultural statements about Germany-Persuasion:
https://understand-culture.com/countries/germany/persuasion/Ok, so users can read an intercultural statement.
Text-only. Pages, not posts.
If they want to see the examples illustrating
that statement they click on “Patterns.”Once they are in Patterns, users can scroll up and down.
And via the categories and tags they can move from
topic to topic, from subtopic to subtopic.That is both good and bad.
Good because they can move around as they wish.
They can explore.Bad because they could distract themselves.
They could go off topic. They could get lost.
They could forget their starting point.
Which was reading a specific intercultural statement.It would be great if we could give users the option
of reading the examples illustrating the respective
intercultural statement directly on the same screen,
directly on the same page.They would read the intercultural statement on the left side
of the screen/page, and read/watch the content (examples)
on the right side of the screen/page. Without leaving the page.No chance of distracting themselves, of going off topic,
of getting lost, of forgetting their starting point.See this mock-up:
https://understand-culture.com/message-vs-messenger/On the left is the intercultural statement: Message vs. Messenger.
On the right is a video. Bill Clinton. 2012.Please note: that video is a place-holder only.
The user would be able to scroll up and down among
all of the examples grouped to that intercultural statement:
Message vs. Messenger.Here is what those examples look like under Patterns:
https://understand-culture.com/?cat=9&tag=objectivityIn other words, I would like to take the stream of examples (posts)
which are on the Patterns-page and display them in a container
directly to the right and next to the container which holds
the intercultural statement.________________________________________
David’s Response:
Hi there,
if i understand correctly this Page:
https://understand-culture.com/countries/germany/persuasion/
contains 6 intellectual statements.Each statement has a link to its post archive,
which is referred to as a pattern.And you want to include the Intellectual Statement
on the Archive ( Patterns ).So it looks like:
https://app.screencast.com/jctWT7G6b1AhhIs that correct ?
________________________________________
John’s Response:
That was fast. Thanks, David.
Yes, correct.
“intercultural” not “intellectual” statements.
I want to include the Archive (Patterns) in the page
housing the intercultural statement, not include the
intercultural statement on the Archive.The screencast displays it well.
________________________________________
David’s Response:
Ok, so this page:
https://understand-culture.com/countries/germany/persuasion/Will it show all 6 statements ?
And each one have its own section to show the related posts.NOTE: Still not sure if it is possible considering
the plugins you use for category groups.________________________________________
John’s Response:
So far no more than 5 statements per each of the 10 topics.
That, however, will change as I add topics (Persuasion)
and subtopics (Message vs. Messenger).You write above: “And each one have its own section to
show the related posts.”Yes, each subtopic (Message vs. Messenger), with text on the left
and its related posts on the right, will have its own section,
with sections separated by the thin, gray line.See my mock-up: https://understand-culture.com/message-vs-messenger/
________________________________________
David’s Response:
Ok, so in your example page in the right hand column,
you could add a GenerateBlocks Query loop block.And set the Query Loop Blocks Paramters -> Add New –> Taxonomy –> Category
and choose the category terms to filter the list of posts by.________________________________________
John’s Response:
I don’t think I got quite right, David.
Please see two screenshots:
https://understand-culture.com/query-loop/________________________________________
David’s Response:
Delete the current query loop.
Then add a new Query Loop and choose one of the templates:
https://app.screencast.com/7EkBLyxVJbaxgChoose anyone that is NOT the Start Blank
________________________________________John’s Response:
Ok, I tried all three templates other than Start Blank.
They list the examples (posts). As excerpts.
Not as full-body posts.See: https://understand-culture.com/message-vs-messenger/
What we’re aiming for is that the individual examples are streamed.
In other words, the examples are fully open so that the user
can scroll up and down without having to click on a given example
in order to open it up.________________________________________
.
-
David
Hi there,
showing the full post content is not possible with that method at this time.
if you want to show all of the post content then you would need to use the core WordPress Query Loop block, as that can support the Content Block to show 100% of the post content.
BUT….. you need to be mindful of performance.
Each Query Loop requires WP to run a query for each post it shows.
So for example, if you have 6 statements, and for each statement there are 6 posts.
That will require WP to run 6 WP Queries, totalling 36 queries.
And thats a LOT of queries to be running on any page. -
johnottomagee
That is very, very helpful information, David.
It tells me that I should not pursue this.Huge thanks. You folks do great work !
John
-
David
You’re welcome
- You must be logged in to reply to this topic.