New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List Category Posts not working #213
Comments
Have you tried |
I did and it shows up on the main page under the picture and title of the page likenits content. Did you see it? Www.fromlyssiiwithlove.com |
I saw it without the Another possibility is that you have put it in a text widget which does not support shortcodes. There is a plugin (which you will need to search for) which gives you an alternative text widget which does support shortcodes. |
Hey @Sophist-UK 👋, long time no see. Thanks for helping out! @lyssiixnole if you want to use the shortcode in a text widget, you can use a plugin as @Sophist-UK suggests, or follow these instructions in the FAQ. It looks like the shortcode could be in the theme files too. If you want to use the shortcode in the theme files, you need to wrap it around some PHP code: <?php echo do_shortcode('[catlist name="food"]'); ?> |
Where are the theme files? And what would putting it in the theme files do vs putting them where they belong in the page ? This seems like a pain in the ass for getting a plugin that should just do it lol |
I would not recommend modifying the theme files as this takes the technical skills needed and site maintenance to a whole new level. Sorry that I can;t remember the name of the plugin though. |
So how do I get this to work for me ? I to the page, ,clicked edit page and entered [catlist name=food] and it ends up showing up on my main page as the content! I have a CSS section for my theme where I'm supposed to enter all short codes but I don't know how to specify which page needs what cause I'm assuming that's how I would differentiate what the coding is for. |
CSS sections are NOT where you enter shortcodes. hen you say you "go to the page" and click "edit page" can you show us a screen shot? |
Are you sure you have activated the LCP plugin? It looks like you have done the right thing. (I don't think it makes a difference entering it in Text mode rather than Visual mode.) |
Yes - it could be that your theme doesn't include support for short-codes. So that should be your next step. |
Can be closed, clearly the issue was with a faulty theme that didn't render shortcodes. |
I pasted into the text section of my page and it is only showing up on my main page as the text for the page. www.fromlyssiiwithlove.com check it out please. What am I doing wrong?
The text was updated successfully, but these errors were encountered: