gp4thdukeofyork
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Sociable] “Yoast – Tweaking websites” box in WP dashboardI am having the same issue
latest version of sociable and WP
Forum: Fixing WordPress
In reply to: [Plugin: Yoast Breadcrumbs] WARNING: array_sliceI have the same issue
Forum: Plugins
In reply to: Warning: Division by zero error with Stock Quote Widget, help!I fixed it. I had two stocks that were no longer traded on the stock market and it fixed the issue.
I will email the creator to watch for this…
Forum: Plugins
In reply to: Warning: Division by zero error with Stock Quote Widget, help!How did you fix this?
Forum: Plugins
In reply to: No Post Today (or last 24 hours)But I do find that it is a little finiky if you do it twice in one php page… but have at it!
(3*(60*60*24))) is the time…
it is in seconds (60 sec * 60 min * 24 hours) * 3 daysForum: Fixing WordPress
In reply to: Post Datesorry, this:
<?php $recent = new WP_Query("orderby=post_date&order=desc"); while($recent->have_posts()) : $recent->the_post();?> <?php if ( (current_time(timestamp) - get_the_time('U') - (get_settings('gmt_offset') * 3600) ) < (3*(60*60*24))) { ?> <!-- content --> <?php } endwhile; ?>But I do find that it is a little finiky if you do it twice in one php page… but have at it!
(3*(60*60*24))) is the time…
it is in seconds (60 sec * 60 min * 24 hours) * 3 daysForum: Plugins
In reply to: No Post Today (or last 24 hours)I do this
<?php $recent = new WP_Query("orderby=post_date&order=desc"); while($recent->have_posts()) : $recent->the_post();?> <?php if ( (current_time(timestamp) - get_the_time('U') - (get_settings('gmt_offset') * 3600) ) < (3*(60*60*24))) { ?> <!-- content --> <?php } endwhile; ?>Forum: Fixing WordPress
In reply to: Post DateI do this
<?php $recent = new WP_Query(“orderby=post_date&order=desc”); while($recent->have_posts()) : $recent->the_post();?>
<?php if ( (current_time(timestamp) – get_the_time(‘U’) – (get_settings(‘gmt_offset’) * 3600) ) < (3*(60*60*24))) { ?>
<!– content –>
<?php } endwhile; ?>Forum: Plugins
In reply to: [Plugin: Yet Another Related Posts Plugin] Upgraded to 2,0 – now not working@cdsanchez… we are doing some testing and Mitcho is prolly passing out about now… unless you are a champ at MySQL… then we gotta wait 😉
Forum: Plugins
In reply to: [Plugin: Yet Another Related Posts Plugin] Upgraded to 2,0 – now not workingI updated as well, nothing changed. The source just ends at the place where I added the <?php related_posts() ?> PHP dies. I am good for a debug versiona s well for the moment,b ut I have to do a server upgrade tonight and might just have to go back the the original one I had
Forum: Plugins
In reply to: [Plugin: Yet Another Related Posts Plugin] Upgraded to 2,0 – now not workingI am trying some echos… but I am finding absolutely nothing. Would updating the DB to UTF-8 be an issue?
Forum: Plugins
In reply to: [Plugin: Yet Another Related Posts Plugin] Upgraded to 2,0 – now not workingI don’t get anything, right when it hits the PHP tag to related_posts() it dies… on index.php
But on my home.php page it process with “no realted posts”
Forum: Plugins
In reply to: [Plugin: Yet Another Related Posts Plugin] Upgraded to 2,0 – now not workingI am having the same issues. And 2.0.2 does not work. Borken php pages and “No Related Posts” displayed.
I am on php5 mysql5 apache4 wp2.5.1