Thread Starter
TBotNik
(@oldmanriver)
Steve,
I don’t see how I can use multiple “More” tags on the same page, which I must.
Do you have an example of how to do that? Assuming something like this:
<p class=’more’ name=’unique1′>Read more content here</p>
Am I right?
OMR
-
This reply was modified 8 years, 2 months ago by
TBotNik.
If I weren’t to use the built-in read more stuff, I’d use a shortcode to insert the content and then in my code, I’d decide what text to use….
so I’d do something like [insert_read_more link="http://example.com/something"]
Thread Starter
TBotNik
(@oldmanriver)
Steve,
According to the HOWTO at: wpbeginner.com/wp-themes/fixing-the-read-more-tag-problem-in-wordpress-static-pages/
Would go something like this:
******************************************************************
My viewable, non-more content there then add the tag: <?php the_content(‘Read More’, name=’unique1′); ?>Followed by my clickable content, then this tag: <?php the_content(‘End’); ?>
Then more of my non-clickable text and then another set of clickable content with: <?php the_content(‘Read More’, name=’unique2′); ?>And my next set of clickable content, then this tag: <?php the_content(‘End’); ?>
******************************************************************
Does this look/sound right?
OMR
-
This reply was modified 8 years, 2 months ago by
TBotNik.
-
This reply was modified 8 years, 2 months ago by
TBotNik.
Thread Starter
TBotNik
(@oldmanriver)
Steve,
If I know the 2 vars with the registered user and loggedin user the php would look something like this:
<?php the_content(‘Read More’, name=’unique1′);
if ($registered != ‘TRUE’) then {
header(“Location: ‘../register'”);
} elseif { ($login != ‘TRUE’) then }
header(“Location: ‘../login'”);
} // end if registered
?>
Cheers!
OMR