Timeline for Display 2nd category, only once, as sub-heading, in the loop
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:37 | history | edited | CommunityBot |
replaced http://wordpress.stackexchange.com/ with https://wordpress.stackexchange.com/
|
|
Feb 3, 2015 at 17:57 | comment | added | Privateer | Did you include the code before that (the wp_query call?) The last section of code is just to show what to do once you have your properties selected. It isn't designed to be a complete solution, simply to show how you can go about doing it in a fairly detailed manner. | |
Feb 3, 2015 at 5:03 | comment | added | codeview |
I get a "Fatal error: Call to a member function have_posts() on a non-object" on the if ( $properties->have_posts() ) { line
|
|
Feb 2, 2015 at 23:56 | comment | added | Privateer | Sorry about that. I fixed it. I'm used to doing things a different way and forgot to escape the quotes. | |
Feb 2, 2015 at 23:56 | history | edited | Privateer | CC BY-SA 3.0 |
fixed an echo statement
|
Feb 2, 2015 at 21:31 | vote | accept | codeview | ||
Feb 2, 2015 at 21:31 | comment | added | codeview |
Thank you for your answer. Unfortunately, as a PHP novice, I do not follow much of it. I tried your example code but receive a parse error for the {$type_url} 's first { (7 lines from the bottom). Because this is so far out of my skill level at this time, I will look at hiring an experienced developer. I will mark your answer as accepted since you were kind enough to elaborate and I'm sure someone will find it useful and tweakable for their needs.
|
|
Feb 1, 2015 at 21:12 | history | answered | Privateer | CC BY-SA 3.0 |