![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
The tags are
HTML Code:
<!--more-->
HTML Code:
<!--nextpage-->
__________________
John "Nicolas Flamel" Wright | SoZo's design | John Wright Photography New to Genesis? Check out Genesis Explained. "We are the music makers, and we are the dreamers of dreams..." - Arthur O'Shaughnessy "Some days even my lucky rocket ship underpants don't help" - Calvin StudioPress on Facebook |
|
#3
|
|||
|
|||
|
Hi, thanks for replying. I tried inserting the <!--more--> code into my post but no luck, it still just displays that as text. Should I insert it in the HTML section?
|
|
#4
|
||||
|
||||
|
Yes, that is HTML
__________________
John "Nicolas Flamel" Wright | SoZo's design | John Wright Photography New to Genesis? Check out Genesis Explained. "We are the music makers, and we are the dreamers of dreams..." - Arthur O'Shaughnessy "Some days even my lucky rocket ship underpants don't help" - Calvin StudioPress on Facebook |
|
#5
|
|||
|
|||
|
I started a new thread but maybe you can help me faster. How can I get the shortcode to work on static pages? As i mentioned on the thread a website told me to add a line of code just above the php content function, but I cant find that function in my genesis theme
|
|
#6
|
|||
|
|||
|
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 |
|
#7
|
||||
|
||||
|
What shortcode are you trying to add to the page?
__________________
John "Nicolas Flamel" Wright | SoZo's design | John Wright Photography New to Genesis? Check out Genesis Explained. "We are the music makers, and we are the dreamers of dreams..." - Arthur O'Shaughnessy "Some days even my lucky rocket ship underpants don't help" - Calvin StudioPress on Facebook |
|
#8
|
|||
|
|||
|
Im trying to add the read more / continue reading shortcode. Websites are saying to add the following code:
<?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. |
|
#9
|
||||
|
||||
|
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.
__________________
John "Nicolas Flamel" Wright | SoZo's design | John Wright Photography New to Genesis? Check out Genesis Explained. "We are the music makers, and we are the dreamers of dreams..." - Arthur O'Shaughnessy "Some days even my lucky rocket ship underpants don't help" - Calvin StudioPress on Facebook |
|
#10
|
|||
|
|||
|
Quote:
The page I have it on is owensguides.com/studiopress basically ontop of each picture I have the tag |
|
#11
|
|||
|
|||
|
Quote:
|
|
#12
|
||||
|
||||
|
You're welcome
__________________
John "Nicolas Flamel" Wright | SoZo's design | John Wright Photography New to Genesis? Check out Genesis Explained. "We are the music makers, and we are the dreamers of dreams..." - Arthur O'Shaughnessy "Some days even my lucky rocket ship underpants don't help" - Calvin StudioPress on Facebook |
| Tags |
| code, shortcode, shortcodes |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Shortcodes not working | chadhardy | General Discussion | 3 | 06-09-2011 05:04 AM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us