By Samuel Costa - UDF+
I'm using Loops section on search pages and using default query object.
But i cant sort in descendent order. Doens't work.
Another thing. How i use meta query object ? Can i give me a example?
By John Olsson+
Hello, how do I show tags in WP-content-section... or what am I missing out?
I just tried to figure out how to use Lax in combination with Post Thumbnails the following way: instead of showing the Featured Image on top of the content section I would like to have a Lax section above the content which loads for each post the featured image. To do so it seems there should be some kind of word press hook support necessary (not ready yet)? Or did I miss something?
I'm having a problem with post formatting that I never encountered before PL5.
I keep losing my paragraph formatting. I've gone in manually 4 and 5 times...adding in the <p></p> tags, updating...then I go to the visual editor or the pagebuilder and when I go back..they're gone and so is the
formatting. In digging around I think it has to do with the wpautop filter. See this: https://codex.wordpress.org/Function_Reference/wpautop
I'm in the process of converting pages from DMS to PL5 and something in PL5 seems to be interacting with the formatting. I'm also getting other strange formatting issues (random <i></i> with no text n between, etc.)
Frankly, I don't care if I need to manually add <p> or not... I just need the formatting to stick.
Currently, the main heading for an element is automatically wrapped with a <h1> tag.
That's okay if the content its wrapping around is, in fact, meant to be the main heading for the page.
But I suspect there may be people who will already have a heading on the page wrapped with <h1> tags, so that's going to create a bit of a semantic issue (theoretically, from what I understand about HTML5 spec, it is possible to have more than one <h1> tag on a page, but you really need to know what you're doing).
So I think that designers should have the option to select that tag for each text part that makes up an element.
Additionally, if the main heading of an element is being used as the <h1> heading for a page, if designers are able to select the tag, then it should automatically wrap the <h1> tag with <header> tags (and maybe even the appropriate classes - e.g., entry-heading, entry-title).
When you look at the other text parts that make up an element, you see that the subheading is automatically wrapped in a <h3> tag.
If the main heading tag is a <h1> tag (as it is at present) then, logically/semantically, the subheading should be wrapped in <h2> tags or <p> tags (perhaps it could be set conditionally - depending on designer selection of main heading).
Further, the subheading <h3> tag actually wraps around <p> tags that contain the subheading content.
That makes no sense whatsoever.
Finally when you specify a tag in the paragraph textbox of an element, it doesn't actually that tag as HTML. Instead, it adds a class - using the specified tag (e.g., class="h2") to a span.
That also does not make sense.