Listings only shows short excerpt – can this be increased?
This topic contains 19 replies, has 3 voices, and was last updated by Richard Holm 5 years, 11 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
April 13, 2019 at 8:36 pm #480546
Sorry if this is in the wrong place…
I’ve finally converted to version 2 and my listings now show a very short excerpt before the ‘Read More’ tag….
I seem to remember that under Design, there used to be a section to set some options for the listings – but its gone now…
Also checked under Listing/Settings, but nothing there either.
Is there a way that I can increase the number of words or characters using CSS?
I’ve been searching the forums for hours and only find some references to changing the php which I’m not really able to do – scared to blow up the whole site…
Any help would be appreciated.
Site is ronniesproperties.comApril 13, 2019 at 9:01 pm #480561Hello!
There is a new design element called PD Post Content.
You can use that in your Archive item template to control textarea output.
Give it a try and let us know how it goesApril 13, 2019 at 11:31 pm #480570Is this something I can change in CSS?
or where do I find it?April 14, 2019 at 1:35 am #480578Replace this in the GD Archive template:
[gd_post_meta key="post_content"]
with
[gd_post_content key="post_content" limit="10"]
You’ll find more options in the widget or shortcode builder or block:
https://wpgeodirectory.com/docs-v2/geodirectory/design-elements/#gd_post_contentThanks
April 14, 2019 at 2:45 pm #480634Hi Support, thanks for the info – but I have no idea where I would change this.
Can you point me in the right direction?
Where do I find the GD Archive template?
—
I’m using the GD > Listings widget and hopefully this change will add a field for number of words… (which seems that it would be useful to everyone, not as a custom change).
—
Thanks – this looks like it will take care of the issue on all of my GD websites if I can figure out how to change it.
RichardApril 14, 2019 at 10:05 pm #480678Where do I find the GD Archive template?
GD > Settings > Pages
https://wpgeodirectory.com/docs-v2/geodirectory/page-design/It is not a custom change, it is part of how you design the layouts unless you are happy with all the default settings.
Thanks
April 14, 2019 at 10:24 pm #480682Thanks! Just needed to get pointed….
I changed as suggested, and found that if I put the limit=”0″ the entire description is there…
I set the limit to “50” and it displays the text including the ‘read more’.
I changed it back to “0” and it displays the full text.Only problem is that the description duplicates in the area just below with about 40 words, the gray shading and then has the ‘read more’.
In both cases, if you click on the ‘read more’ – it navigates to an error message.
Warning: include(/home/caribbe0/public_html/sanjuangayguide.com/wp-content/plugins/geodirectory/templates/ ): failed to open stream: No such file or directory in /home/caribbe0/public_html/sanjuangayguide.com/wp-includes/template-loader.php on line 77
Warning: include(): Failed opening ‘/home/caribbe0/public_html/sanjuangayguide.com/wp-content/plugins/geodirectory/templates/ ‘ for inclusion (include_path=’.:/usr/local/php71/pear’) in /home/caribbe0/public_html/sanjuangayguide.com/wp-includes/template-loader.php on line 77
Two questions:
1. How do I resolve the error message.
2. How do I eliminate the duplication (see screen shot example with limit=”0″)Thanks!
RichardApril 14, 2019 at 10:41 pm #480688Please post your URL and WP admin details in a private reply so we can review your settings. Thanks
April 14, 2019 at 11:19 pm #480690This reply has been marked as private.April 15, 2019 at 10:22 am #480779You had the description shortcode twice in your GD Archive Item template.
I deleted one of them.Your theme is breaking the Detail pages. You can see it when changing to a simple theme like twentyseventeen.
Thanks
April 15, 2019 at 10:23 am #480780This reply has been marked as private.April 15, 2019 at 12:26 pm #480809Thanks! I’ll take a look at the design elements – looks like they will make design much easier… I had taken a break from GD for a while to try other directory providers – but with version 2 GD is now the easiest to use so I’m back with you guys.
Thanks for the heads-up on the theme problem. This is a very old theme which is not used on my other sites, so I’ll upgrade and resolve that issue.
Thanks for the great support!
Richard
April 15, 2019 at 12:28 pm #480814You’re welcome 🙂
April 15, 2019 at 12:55 pm #480824Changed my theme and working fine now…
But one last question…Is there anyway to get rid of that grey transition before the ‘read more’?
I tried playing around with css but suspect it may be in the design controls somewhere….
Thanks!
RichardApril 15, 2019 at 1:33 pm #480835Try this CSS:
body ul.geodir-category-list-view li .gd-list-item-right .geodir-field-post_content .gd-read-more-fade, body ul.geodir-category-list-view li .gd-list-item-right .geodir-post-content-container .gd-read-more-fade { background-image: initial;} }
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket