I’ve just installed it to create a resources directory in my future blog. I have created a couple of categories and 2 subcategories to the 1st of them, just to test it. The issue I found is that while in the admin section subcategories appear nested to their parent (indented), they do not appear to be so in public page.
At first I thought it could be a problem with the theme but then I checked the HTML code and, both parents, children and single categories (no child) appear to be independent
<UL class="parent>
<UL class="child">
</UL>
</UL>
(simplified draught code)
I’ve checked in the admin section and couldn’t find where I can change this (not-so-right) behaviour. Could anyone, please, where could I change that (without modifying the original code). Ty
]]>I want to use expanded attributes in a nested list, so that the entire list (basically, a table of contents of articles) will be expanded when the page loads.
Currently, it’s laid out as:
[expand title=”LGBTQ” expanded=”true”]
[expandsub1 title=”Words and Concepts”]
L, G, B, T, Q, Q, I, A… what do all the letters mean?
[/expandsub1]
[expandsub1 title=”Sexual Orientation” expanded=”true”]
What does it mean to be gay and Christian?
What is bi-phobia, bi-erasure, and bi visibility?
[/expandsub1]
[expandsub1 title=”Gender Identity” expanded=”true”]
Is being transgender a mental disorder?
[/expandsub1]
[/expand]
[expand title=”Scripture and Theology” expanded=”true”]
[expandsub1 title=”Scripture” expanded=”true”]
Why do some Christians believe it’s OK to be gay, when the Bible says it isn’t?
The Bible says Adam and Eve. Does that mean only straight marriage is OK? (Genesis 2:18-25)
[/expandsub1]
[expandsub1 title=”Theology” expanded=”true”]
What is historical criticism?
[/expandsub1]
[/expand]
[expand title=”Life and Family” expanded=”true”]
[expandsub1 title=”Family” expanded=”true”]
My child just came out. What do I do?
[/expandsub1]
[/expand]
[expand title=”Church” expanded=”true”]
[expandsub1 title=”Denominations” expanded=”true”]
What are mainline Protestants?
What is the Lutheran church and what do they believe?
Who are Mormons, and what do they believe?
[/expandsub1]
[/expand]
The site is here: https://queergrace.com/entries/
No expansion. They’re all closed.
Help me, Obi-Wan.
https://www.ads-software.com/plugins/jquery-collapse-o-matic/
]]>I have got some wild (random) </p> tags in my source code when there is no opening <p>.
Let us make a simple nested list:
<ol>
<li>Lorem ipsum</li>
<li>Dolor sit amet:
<ul><li>Consectetur adipiscing elit</li></ul></li>
<li>Etc.</li>
</ol>
This works fine. The problem appears when we use a break line in our list:
<ol>
<li>Lorem ipsum</li>
<li>Dolor sit amet<br />
Consectetur adipiscing elit<br />
Fusce tempus ut libero vel semper: *** here appears a random </p> ***
<ul>
<li>Nam sed neque luctus</li>
<li>Malesuada quam eu</li>
</ul>
</li>
<li>Etc.</li>
</ol>
Examlpe: onauke.com/story/451 (there are 5 opening <p> tags and 8 closing </p> tags).
I believe you can copy and paste the last list in empty wordpress page or post and you will see the problem (just delete the part “*** here appears a random </p> ***” when you paste the code to wordpress editor).
Settings > Writing > “WordPress should correct invalidly nested XHTML automatically” is unchecked. I checked the plugins, and I think that this is a wordpress issue.
Thanks.
]]>I have a question on setting up a “custom” sidebar navigation.
There are 3 levels of navigation shown on the page, spread across multiple sections. My desired outcome is that everything under the current current_page_ancestor would be visible (all child pages) and that any child pages from other 1st level parents would not to be displayed.
An example of the page tree looks like this:
Mission & Programs
-History
-Pizza Services
-Vocational Services
Business Attractions
-Farmyard
–Field Trips
–Membership
-Brick oven
-Nettle patch
Both of these are contained within a parent page.
Given the above structure when you are on the Farmyard page all pages under Business Attractions should be visible, but only Mission & Programs (none of the child pages).
So far I have been able to achieve a bit of the nesting and display I want using this code:
[Code moderated as per the Forum Rules. Please use the pastebin]
But it shows all the pages contained within the overarching parent. If anyone can lend some assistance in how I would achieve this menu that would be great, please let me know if I can provide clarity on any of these points, thanks!
]]>I’m trying to accomplish the following with nested list design:
A
B
1 2 3 4
D
E
I have the following code below, but it’s not working. Can anyone help? Thanks a million in advance!!
<html>
<style>
#object ul {width:100%; padding: 0 0 10px 0; border: solid 0px #000000; list-style:none; }
#object li {border:solid 0px #000000; width:100%; padding-bottom:10px; float:left; }
#object ul ul li {display:inline; margin-left:10px;}
</style>
<body>
<div id=”object”>
</div>
</body>
</html>
<ul>
<li>
x
</li>
<li>
y
<ul>
<li>
z
</li>
</ul>
</li>
</ul>
Unfortunately, when I save my post, WP adds a closing paragraph tag to the code like this:
<ul>
<li>
x
</li>
<li>
y</p>
<ul>
<li>
z
</li>
</ul>
</li>
</ul>
Is there a fix for that?
]]>