ciaranm
Forum Replies Created
-
Forum: Plugins
In reply to: [BulletProof Security] [Plugin: BulletProof Security] BPS Others??Askimet is free… It comes standard with WordPress and is highly recommended…
Hard to tell what you’ve got without a link to your site… Can you post a link?
But if you are getting lots of viagra junk it could be a form of the pharma hack which also got me a while ago… Here are two recommended articles about the Pharma Hack.
https://www.pearsonified.com/2010/04/wordpress-pharma-hack.php
https://blog.sucuri.net/2010/07/understanding-and-cleaning-the-pharma-hack-on-wordpress.htmlI have not been hit again with the pharma hack since installing BPS.
Forum: Plugins
In reply to: [BulletProof Security] [Plugin: BulletProof Security] BPS Others??Hi Marco
I’m definitely not the security expert, but if you are getting major comment spam, you could try Askimet if you haven’t already. Not sure about he whole page not existing thing…
But in regards to BPS, I have had good experiences with the plugin being able to prevent hacked sites from being rehacked. It might be worth installing BPS and see if it helps.
Good luck
Cheers
CiaranForum: Fixing WordPress
In reply to: Drag and Drop is not working in widgets setting!I had a similar problem… I installed the Google Libraries Plugin and it fixed it:
I guess it was some sort of Javascript bug stopping JS from loading properly on the widgets page…
Good luck!
Forum: Plugins
In reply to: Auto tweet pluginTwitter tools offers this function…
https://www.ads-software.com/extend/plugins/twitter-tools/
*Edit, added link
Ok, now running 3.5.1 on my site… Seems to be back to working perfectly.. Thanks!
Looks like 3.5.1 has been released… Anyone tested this?
Hmmmm…. same here… Getting the following error
`Warning: Invalid argument supplied for foreach() in ………/plugins/adrotate/adrotate-functions.php on line 425′Any ideas on how to fix this?
Forum: Plugins
In reply to: [BulletProof Security] [Plugin: BulletProof Security] BPS Others??Awesome! Thanks Ed.
You’re doing a great job saving all of our as**es. Keep up the good work!
Forum: Plugins
In reply to: [BulletProof Security] [Plugin: BulletProof Security] BPS Others??Hi Ed
Thanks for your comprehensive response!
I will most certainly do some more Googling re: htaccess security…
Any idea when your pro version will be released? And what features do you plan on adding?
Cheers
CiaranForum: Fixing WordPress
In reply to: WordPress sites Hacked – cialis links, etcSame has happened to me! It seems that a script has run to put links in the middle of each post…
It seems that the only way I can fix it is to go to each individual post and delete the links.
I can’t seem to find any errors in index.php however.
Did you get any further with this?
Forum: Fixing WordPress
In reply to: Add Custom Field within Shortcode using do_shortcodeThanks very much alchymyth…. You led me down the right track and I have now figured it out…
For anyone looking to do something similar, this is my code:
<?php $var = get_post_meta($post->ID, 'gallery-code', true); if ($var == '') { } else { echo do_shortcode( '[slickr-flickr type="slideshow" tag="' . $var . '" size="small"]'); } ?>
It checks to see if the custom field has a value and if so returns the custom field as the variable in the shortcode. If no custom field is entered is shows nothing… Works a treat!
Thanks SebAshton! Been playing with other pieces of code and came across yours which worked perfectly! Fantastic!
I also added a line to show the event date and ended up with:
<div> <?php $calender = get_cat_ID( 'Events' ); $calender_link = get_category_link( $calender );?> <?php global $spEvents; $spEvents->loadDomainStylesScripts();?> <div id="tec-content main" class="upcoming"> <div id="tec-events-loop" class="tec-events post-list clearfix"> <?php $todaysDate = date('Y-m-d G:i:s'); $cal_query = new wp_query('category_name=Events&posts_per_page=5&meta_key=_EventStartDate&meta_compare=>=&meta_value='.$todaysDate.'&orderby=meta_value&order=ASC'); ?> <?php while ($cal_query->have_posts()) : $cal_query->the_post(); ?> <div id="post-<?php the_ID() ?>" class="tec-event <?php echo $alt ?>"> <div style="clear:both;"></div> <ul><?php the_title('<div class="entry-title"><a href="' . get_permalink() . '" title="' . the_title_attribute('echo=0') . '" rel="bookmark">', '</a></div>'); ?> <?php echo the_event_start_date( null, false ); ?></ul> <!-- End tec-event-entry --> </div> <!-- End post --> <?php $alt = ( empty( $alt ) ) ? ' alt' : '';?> <?php endwhile; // posts ?> </div> </div> </div>
You can see it working here: https://darwinhub.com/
As for muhammad.yuqi, can you be a bit more descriptive and I’ll see if there is any way I can help…
Forum: Themes and Templates
In reply to: Premium themes, theme frameworkHi, Thanks for your reply.
I’m a designer looking to create child themes, but also like to take a predesigned theme and tweak to suit.
I have already gone and bought a few themes from woothemes to play around with and have been impressed so far.
I see theme hybrid is rather cheap compared to the others I mentioned so I may end up trying it out as well.
Thanks
Hi There
Try deleting this line:
<?php if(the_event_start_date(null, false, mdY) >= date(mdY)) : ?>
I seemed to work for me. I was using your code and trying to figure out how to list more than 2 events on my homepage here: https://darwinhub.com/
Do you know how I could list more than 2 events? here is my code…
<?php query_posts($query_string . '&category_name=events&showposts=5'); ?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php if(the_event_start_date(null, false, mdY) >= date(mdY)) : ?> <ul> <div class="event-content"> <?php the_title('<div class="event-title"><a href="' . get_permalink() . '" title="' . the_title_attribute('echo=0') . '" rel="bookmark">', '</a></div>'); ?> <?php if ( is_new_event_day() ) : ?><div class="event-day"><?php echo the_event_start_date( null, false ); ?></div><?php endif; ?> </div> </ul> <?php endif; ?> <?php endwhile; else: ?> <p>Sorry, no events list. Got events coming up? List an event here.</p> <?php endif; ?>
Thanks!
Ah yes…It works…Always going to be the most obvious solution…Thanks!!! ??