Skip to content
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

Closed
lyssiixnole opened this issue Nov 2, 2016 · 13 comments
Closed

List Category Posts not working #213

lyssiixnole opened this issue Nov 2, 2016 · 13 comments

Comments

@lyssiixnole
Copy link

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?

@Sophist-UK
Copy link
Contributor

Have you tried [catlist name="food"]?

@lyssiixnole
Copy link
Author

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

@Sophist-UK
Copy link
Contributor

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.

@picandocodigo
Copy link
Owner

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"]'); ?>

@lyssiixnole
Copy link
Author

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

@Sophist-UK
Copy link
Contributor

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.

@lyssiixnole
Copy link
Author

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.

@Sophist-UK
Copy link
Contributor

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?

@lyssiixnole
Copy link
Author

img_6548
img_6549

@Sophist-UK
Copy link
Contributor

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.)

@lyssiixnole
Copy link
Author

img_6551

Yea I even got another crappy plugin and it didn't do what I wanted ! I'm gonna contact the theme guy than you

@Sophist-UK
Copy link
Contributor

Yes - it could be that your theme doesn't include support for short-codes. So that should be your next step.

@klemens-st
Copy link
Collaborator

Can be closed, clearly the issue was with a faulty theme that didn't render shortcodes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants