Category Description
-
Hi, wonderfull plugin!There is a way to display also the category’s description? Thanks!
-
Hello Alessiosester
Thank you!
Today the plugin does not support this. However I plan to do some updates in the coming weeks. I will add it to my list and will add a remark to this post if I manage to include this.Are there any specific requests for the output format?
Hello Willemso,
thanks for your reply.
I don’t need a specific output format.
AlexHey Alex
I am sorry for the delay, I added an option to the development version.
Scroll down this page and select development version. Once downloaded, remove any existing install of SPC and use this one instead.You can activate it by entering
[show_post_categories show="catdesc"]
, once I’ve got some more time I will merge it into the normal “category” attribute. This will be listed in the upgrade notices.Please let me know if all works as requested.
Hi Willemso,
thanks for your reply.
I’m developing in local, so i downloaded the development version and pasted it in to the Show Post Categories folder, but no description appears.
Thanks you
AlexAlex,
I think I’ve found what’s wrong!
As I am not having a local install available right now; could you check the following?[show_post_categories show="catdesc" id="CategoryID"]
The text CategoryID can be replaced with no matter what ID, but it needs to be a Category ID. I’ve linked -by default- the Post ID so that’s why it is not working.If this works I got an extra question for you. Would it be your expectation that this code would list all Descriptions for a current post, or would you always specify the Category you need the Description from?
Hi Willemso,
i tried with the Category ID number, but the browser didn’t render the page.
I tried with the Category name, but it doesn’t work too.
In order to answer to your extra question, yes, my expectation is that this code would list all descriptions for a current post, but specify what category i want to display.
Thank you very much for your support!
AlexHey Alex
thanks for the feedback. This gives me guidelines to optimize it in the coming weeks.
Now, I quickly tried it with XAMPP on a clean WP install and it seemed to work as expected.In my case I used
[show_post_categories show="catdesc" id="4"]
Are you sure that the ID is correct? I used this howto on how to find the ID I needed.
Hi Willemso,
thanks for your reply.
Yes, i’m sure i used the correct Category ID.
Could be the theme that obstacle the Category description?
It is possibile to verify this thing?
Thanks again!
AlexHi Alex
Yes, themes and plugins might create issues, however I can say that SPC follows all rules given by WordPress.
Myself I’ve tested it now on another install running Twenty Nineteen in combination with Elementor & Yoast, plus some other minor plugins. I used the Guteberg Shortcode block.Could you tell what theme you are using? And what editor?
Hi Willemso,
Thanks for your reply.
I’m using Kleo theme, Bakery Visual composer and Custom Field. I’ll try to de activate Custom Field integration in Visual ComposerHi Willemso,
i found the plugin that block the Category description: Enhanced Category Pages
Now the plugin displays the Category description of each ID i paste into the shortcode, but how can i display only the description of the current post?
Thank you!
AlexHello
I am happy to hear you’ve found the issue.
Are you asking on how to display the post excerpt? If so this is not (yet) implemented.Hello,
yes, it could be useful.
Thank you!
AlexHi Alex
I am currently traveling but I’ll add it asap.
What should be listed if there is no (manual) excerpt; the first 30 words of the post?Alex,
in case you are still looking for a way to show the excerpt;
the dev version now contains it.There are 2 options;
you defined an excerpt within the post – it show this one
you did not define an excerpt – we′ll fetch the first word and show thisto call this just use:
[show_post_categories show="excerpt"]
and optional you can set the amount of words too.I′ll keep this support topic open for a while, just in case you have feedback.
If you are happy with the plugin and support you can always leave a rating at the plugin page ??
- The topic ‘Category Description’ is closed to new replies.