13 reputation
3
bio website clinthubbardjr.com
location Seattle, WA
age
visits member for 1 year, 9 months
seen Jun 7 '13 at 20:51

I'm a web developer currently working at a web firm based in Seattle, Washington.


Sep
24
awarded  Autobiographer
Feb
1
comment How can I get an <h2> tag to wrap each ancestor that gets outputted in this condition?
Hey Bart, you rock man! That last edit works perfectly! I can't thank you enough. I learned quite a bit from this one. Cheers!
Feb
1
awarded  Scholar
Feb
1
accepted How can I get an <h2> tag to wrap each ancestor that gets outputted in this condition?
Feb
1
awarded  Student
Feb
1
comment How can I get an <h2> tag to wrap each ancestor that gets outputted in this condition?
I'm thinking in order to wrap each page title individually I will need to change some of the code here: ' if($i != count($pages) - 1){ $ban_titles.= " <br /> "; } ' since I'm able to add html tags after $ban_titles but not before for some reason.
Feb
1
comment How can I get an <h2> tag to wrap each ancestor that gets outputted in this condition?
Hi Bart, thanks for the quick response. I implemented your solutions but unfortunately they didn't solve this issue completely. The h2 tags were displaying but it wrapped both the 1st and 2nd level outputs. I'm trying to wrap h2's around each level individually. I've been trying to work in a foreach loop but have been unsuccessful. Now for the amount of page titles being displayed only shows 2 page titles as needed but when I'm on a top level page it displays the top level page title twice. Thanks for giving it a shot. :)
Feb
1
asked How can I get an <h2> tag to wrap each ancestor that gets outputted in this condition?