![]() |
Wordpress Shortcodes Not Working
Hi,
As you can tell I am using the Eleven40 StudioPress child theme. I have tried using some Wordpress shortcodes in my posts such as <!nextpage> and <!readmore>, but not luck. (If I entered the wrong shortcodes I just forgot exactly what they are, but I tried the right way. Can anyone tell me what I am doing wrong or if I have to add some code? Thanks, Owen P.S. If this helps, my website is www.owensguides.com |
The tags are
HTML Code:
<!--more-->HTML Code:
<!--nextpage--> |
Quote:
|
Yes, that is HTML
|
How to Use Read More Shortcode on Pages
Hey everyone,
First of all, I know that the read more shortcode is by default only usable on the home page. however, I have seen two websites that offer the same code to let me use the shortcode on any static page or post, which is this: <?php global $more; $more = FALSE; ?> The sites say to add the code just above the [<?php the_content('Read more →'); ?>] function. I can't find this is anywhere in the editor. Whenever I even go into a Genesis file it says all over not to edit it, so how can I use this code? If you want to look, the page I want to use this code on, but not limited to this page, is http://owensguides.com/studiopress (I am a studiopress partner and am setting up a advertising page). Can anyone please tell me how to use this code?? Edit/Delete Message |
Quote:
|
What shortcode are you trying to add to the page?
|
Quote:
<?php global $more; $more = FALSE; ?> just before the <?php the_content('Read more →'); ?> code. I can't find where this is because all the Genesis files say do not edit or something like that. |
What exactly are you trying to acheve.
There is no such thing as a readmore shortcode. There is the more tag: <!-- more --> which truncates post and page content when pulled elsewhere in the site. If you are trying to paginate a post or page then you use the <! -- nextpage --> tag. |
Quote:
The page I have it on is owensguides.com/studiopress basically ontop of each picture I have the tag |
Quote:
|
You're welcome :):
|
| All times are GMT -5. The time now is 01:29 AM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.