Everton
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: W3TC] litespeed cache settings/flushing?Here are my settings at the moment: (LSWS 4.1.1)
Cache Storage Settings- Storage Path:/home/lsws-cache
- Max Object Size :2048
Cache Policy
- Enable Cache :Yes
- Cache Expire Time (seconds) : 86400
- Cache Request with Query String :Yes
- Cache Request with Cookie :Yes
- Cache Response with Cookie :Yes
- Ignore Request Cache-Control :Yes
- Ignore Response Cache-Control :Yes
- Enable Private Cache :No
- Private Cache Expire Time (seconds) : Not Set
Comments?
Forum: Plugins
In reply to: [Plugin: WordPress Download Monitor]: how give authors access?Don’t worry – found it!!
Forum: Fixing WordPress
In reply to: How to add text/ad AFTER More/Excerpt in poststhanks that worked.
Forum: Fixing WordPress
In reply to: How to add text/ad AFTER More/Excerpt in poststhe ad goes below the_content(), rather than before
Forum: Fixing WordPress
In reply to: How to add text/ad AFTER More/Excerpt in postsstill no ad if no ‘more’
Forum: Fixing WordPress
In reply to: How to add text/ad AFTER More/Excerpt in postssorry, that didn’t work!!
Forum: Fixing WordPress
In reply to: How to add text/ad AFTER More/Excerpt in postsfixed it….
……..
<?php
$content = get_extended($post->post_content);
if(empty($content)) : ?>
<?php the_content(); ?>
<?php else : ?>
<div style=”display:block;float:left;margin-top:0px;margin-right:15px;”>
<script type=”text/javascript”>
GA_googleFillSlot(“CI_Article_Top”);
</script>
</div><?php
$content[‘main’……………Forum: Fixing WordPress
In reply to: How to add text/ad AFTER More/Excerpt in postsit doesn’t quite work – what I want it do to is show the ad and then the_content() if there’s no ‘more’ – it’s currently showing just the_content().
Really appreciate you trying to help
Forum: Fixing WordPress
In reply to: How to add text/ad AFTER More/Excerpt in postsactually, just spotted one big problem. If there isn’t an excerpt or if a post doesn’t have a ‘more’ added, then my ad isn’t displayed at all.
How do we modify the code so that if there’s a more it does what we have above, but if there isn’t, then it displays my ad before the full post?
Thanks
Forum: Fixing WordPress
In reply to: How to add text/ad AFTER More/Excerpt in postsbrilliant – thanks mate!!!!
Forum: Fixing WordPress
In reply to: How to add text/ad AFTER More/Excerpt in poststhanks for the fast reply. This is probably a very daft question, but I can’t get my ad to display without an error. The code I want to put after the excerpt isn’t working – what am I doing wrong?
Thanks
<?php $content = get_extended($post->post_content); $content['main'] = $content['main'] . '<span id="more-' . $post->ID . '"></span>'; $first_content = apply_filters('the_content', $content['main']); $second_content = apply_filters('the_content', $content['extended']); echo $first_content; <div style="display:block;float:left;margin-top:0px;margin-right:15px;"> <script type="text/javascript"> GA_googleFillSlot("CI_Article_Top"); </script> </div> echo $second_content; ?>
Forum: Fixing WordPress
In reply to: Custom category loop issuesthanks for the advice of using google…can anyone provide any help that’s a bit more substantial?
Forum: Fixing WordPress
In reply to: Custom category loop issuesbump trying to keep this alive
Forum: Fixing WordPress
In reply to: Custom category loop issuesanybody have any other ideas?
Forum: Fixing WordPress
In reply to: Custom category loop issuesHi MichaelH
thanks for trying to help – same problem I’m afraid!
EB