[please read the forum guidelines for posting code]
<?php
/**
* @package WordPress
* @subpackage constructor
*/
// Stupid Parser This is Theme support the Gravatar Service
// get_avatar();
// load header.php
get_header();
// load one of layout pages (layouts/*.php) based on settings
get_constructor_layout('index');
// load footer.php
get_footer();
?>
i have try other php file like post single etc…
but not work at all somebody help plz?
// load header.php
get_header();
// load one of layout pages (layouts/*.php) based on settings
get_constructor_layout(‘index’);
// load footer.php
get_footer();
?>
i have try other php file like post single etc…
but not work at all somebody help plz?
<?php the_content() ?>
to
<?php the_content('My new More tag text. »'); ?>
That must used in old WP versions. I know that its possible to customize it on every use when you write it in the more-tag. but I want it permanent. Checked already the WP Wiki…but its…eh..a lil bit confusing TIA!
]]>I found this code somewhere when i’m googling:
<script type="text/javascript"
src="https://ajax.microsoft.com/ajax/jquery/jquery-1.4.4.min.js">
</script> <-- (I think this is unnecessary because wordpress already has jquery in it's directory, isn't it?) -->
<script type="text/javascript"
src="https://plugins.learningjquery.com/expander/jquery.expander.js">
</script>
<script type="text/javascript">
$(function () {
$('div.readmore').expander({
slicePoint: 200,
expandText: 'Click Here to Read More',
userCollapseText: 'Hide Text'
});
});
</script>
and this:
<script src="https://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.js" type="text/javascript"></script> <-- (is this required?)-->
<script type="text/javascript">
$(document).ready(function() {
$(".message").hide();
$("span.readmore").click(function(){
$(".message").show("slow");
$(this).hide();
});
});
</script>
But i don't know where these code to be inserted??!
Below are the codes that i found in my theme directory that produce "read the rest of this entry" link.
In my archive.php
<div class="entry">
<?php the_content() ?>
</div>
In my index.php
<div class="entry">
<?php the_content('Read the rest of this entry →'); ?>
</div>
In my page.php
<div class="entry">
<?php the_content('<p class="serif">Read the rest of this page ?</p>'); ?>
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
</div>
In my single.php
<div class="entry">
<?php the_content('<p class="serif">Read the rest of this entry →</p>'); ?>
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
</div>
Hmm, anyone knows? I don’t know how to replace the above codes with those jquery.
]]>I would like to change this so it it says: Continue Reading “post-title”
Can anyone tell me how to do this?
Thanks
I am a novice coder, relatively new to wordpress so bear with me here.
I’ve read several posts on how to change “read the rest of this entry” universally.
I was wondering how I would go about doing so for each individual post.
ex. for one i might say “See more diagrams below the jump!” and another i might want to say “Read about my opinion on this matter”
Thanks,
cleancutmedia
[sig moderated]
I’m noticing some corruption in old posts where I used ‘More’.
See: https://onlinepresence.blogsailor.com/2007/05/25/cloaking-affiliate-links/
When I click on the “Read the rest of this entry” nothing comes up.
I checked the MySQL database record for this post and I see “Read the rest of this entry” in the post content and nothing after that.
To me this seems like a corruption somewhere. Any clues as to how this could happen? Any plugins which can cause this?
]]>