Header empty?
-
I noticed today that the listing titles weren’t showing on any of my listings, on their own pages; they only showed the page name for the whole directory at the top.
I checked in the HTML source for the page and found that the “w2dc-listing-header” tag was empty. This is the code that’s supposed to display the title, on line 17 of “listing_single.tpl.php”:
do_action('w2dc_listing_title_html', $listing, true);
For some reason, that’s not returning anything. I combed through all the settings to see if there was anything related to “title” or “hide” that I had misconfigured, but there didn’t seem to be anything there.
I eventually just added in:
echo "<h1>" . $listing->title() . "</h1>";
…in that space, but that’ll get overwritten the next time the plugin is updated, so it’s not a permanent fix.
Does this problem have an easy obvious answer?
Thanks in advance if you have any suggestions!
The page I need help with: [log in to see the link]
- The topic ‘Header empty?’ is closed to new replies.