Osclass forums
Support forums => Themes => Topic started by: rels on October 27, 2013, 04:22:54 pm
-
Hi guys,
Ok I have tried doing this best has I can with no luck.
I am trying to show the category description just before the listings. For better SEO and so people can read a little before searching.
Is there anyway of doing this and if so Could you show me how.
I am using Osclass 3.2.1 with the default theme.
-
Hi,
The helper osc_category_description()? ???
Regards
-
Now I'm wanting text under the title on the category to show.
The image shows what I'm trying to achieve :-\
I anyone could tell me where to put a code ect this would be very helpful :)
-
I was looking around to see if I could help in some way, but to my surprise the category is not pulling it's description like is it supposed to. it is pulling the 1st item description. which makes me wonder where the category description is being used LOL ???
I have some time today to try and help you sort this out ....
-
for your fix..in search.php add this in red, depending on your theme (this is bender) under your "search title" header
<?php osc_run_hook('search_ads_listing_top'); ?>
<h1><?php echo search_title(); ?></h1>
<p><?php echo osc_category_description(); ?></p>
<?php if(osc_count_items() == 0) { ?>
<p class="empty" ><?php printf(__('There are no results matching "%s"', 'bender'), osc_search_pattern()) ; ?></p>
<?php } else { ?>
now to figure out why the description is not being used in the meta tag.......
-
1 word my friend "Awsome" Many many thanks for getting this working :D