Supreme Directory Theme Bug
This topic contains 4 replies, has 2 voices, and was last updated by Stiofan O’Connor 9 years, 3 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
July 22, 2016 at 10:04 pm #232090
I would have posted this on theme section but i dont have required capabilities. sorry if i break any rules
.sd .entry-content { margin: 0px auto; <strong> margin-bottom: -30px;</strong> padding-bottom: 30px; padding-top: 35px; }1=> The bold above is overlapping the Previous and Next navigation on listing detail page is I set mine to
<strong>padding: 0px</strong>2=> The Previous and Next navigation is doing some kind of random looping between few listing, i dont know if this is how it suppose to work but my test on localhost is random btw three listing, I just update the GD-Core today
3=> On Listing Details Page,
Catchable fatal error: Object of class WP_Error could not be converted to string in ..supreme-directoryincgeodirectory-compatibility.php on line 884I think the error affect listing without category icon, i try commenting it out, the error disappear showing categories w/o icons.
In older version of GD it is possible to have category w/o icon, that how i did my mine sometimes ago———-
Now my own side:
How do I Add the geodir-post-gallery on the sidebar on listing page, it seems i cant get, but its showing on supreme-directory demo.Thank
July 22, 2016 at 11:34 pm #232096Correction to => 3
I think the error affect listing empty category link, when i try to edit the lisitng, i notice that some of the categories are empty (listing has multiple category)
July 23, 2016 at 5:45 pm #232432Hello,
#1 Fixed and will be in next version, you can get dev version from here: https://github.com/GeoDirectory/supreme-directory
#2 This is a bug in CPT and Location manager addons, this is fixed and will be in the next releases.
#3 Cat icons are required, but this might be related to a bug we fixed, check if the dev version fixes or not.
“How do I Add the geodir-post-gallery on the sidebar on listing page” Go to GD>Design>Detail>
Exclude selected tabs from detail page:: Then exclude the photos tab and it will then show in the sidebar.Thanks,
Stiofan
July 25, 2016 at 10:02 am #2331573=> On Listing Details Page
Thanks for you reply, I have test tested the Dev version of SD but the error still persist. I afraid I may be the only one having the problem. I stated in my last post it wasn’t the cat-icon causing the problem rather a kind of NULL value for category link in the ($term_url).In my findings some listing were having either EMPTY or MISSING category or sub category see attached image
foreach ($cats_arr as $cat) { $term_arr = get_term($cat, $post_tax); $term_icon = isset($cat_icons[$cat]) ? $cat_icons[$cat] : ''; $term_url = get_term_link(intval($cat), $post_tax); ##The nesx line is where the problem lies on the link to $term_url echo '<li><a href="' . $term_url . '"><img src="' . $term_icon . '">'; echo '<span class="cat-link">' . $term_arr->name . '</span>'; echo '</a></li>'; }If I remove entirely the
<a href="' . $term_url . '">all seems to be fine but the category will not be linked
July 25, 2016 at 10:12 am #233187every cat has to have a link, otherwise the cat does not exist, did u delete it? Try removing and adding the cats back, if you have lots of listings like this you might want to export them and fix the cats and reimport them to update the cats.
Thanks,
Stiofan
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket