Monday, 4 March 2013

Wordpress : how to cut down on the amount of Spam Emails I'm recieving

Its been mentioned by a client that they are fed up of receiving too many emails regarding posts that turn out to be spam.

There's a couple of things I've done which now seem to have rectified the problem .

Firstly to add Repcaptcha Plugin WP Recaptcha

Secondly to tweak the settings for spam notifications can be found at.

Settings ( on the left menu ) > Discussion >

Then in the main screen in 'Email me whenever'  1. Anyone posts a comment ; 2. A comment is held for moderation

If you untick these then you won't receive any emails.  The thing is then is if there are any genuine posts you won't be notified.

The one section that will help is the 'Comment Blacklist'   - after googling 'Wordpress Comment Blacklist Suggestions' I've come up with this list as a starting point.  It's worth adding recommended IPs and emails to blacklist for spam; but I'll leave that to another post.


ace-decoy-anchors.
acnetreatment
adderall
adipex
advicer
agentmanhoodragged
allauctions4u.
allegra
alprazolam
ambien
amitriptyline
anal
anthurium
apexautoloan
ativan
atkins

available-credit.
baccarat
baccarrat
balder
ballhoneys
bannbaba.
bestweblinks
bitches
blackjack
bllogspot
blow-ebony-job
boat-loans
bondage
bontril
booker
butthole
buy online
buy-levitra-online
buy-phentermine
buy-porn-movie-online
buy-viagra
buy-xanax
buycialis
byob
c**k
caclbca.
car-rental-e-site
car-rentals-e-site
carisoprodol
cash-services.
casino-games
casinos
casualty insurance
cephalexin
cheapcarleasehire
cheapdisneyvacationspackagesandtickets
cialis
cialisonline
citalopram
clitoris
clomid
college-knowledge
company-si.
contentattack.com
coolcoolhu
coolhu
copulationformmeet
credit-card-debt
credit-cards
credit-dreams
credit-report-4u
creditcard
cricketblog
currency-site
cyclobenzaprine
cymbalta
dating-e-site
dawsonanddadrealty.
day-trading
debt-consolidation
debt-consolidation-consultant
diabservis.
didrex
diet-pill
diet-pills
discreetordering
dissimilarly
distanceeducation
doxycycline
duty-free
dutyfree
ephedra
equityloans
finalsearch
fioricet
flamingosandfriends.
flower4us
flowers-leading-site
free-cumshot-gallery
free-online-poker
free-poker
free-ringtones
freenet-shopping
gambling-
generic-viagra
h1.ripway
hair-loss
hawaiiresortblog
headsetplus
health-insurancedeals-4u
hentai
holdem
holdempoker
holdemsoftware
holdemtexasturbowilson
home-loans-inc.
homeequityloans
homefinance
homemade_sedatives
homeowners insurance
hotel-dealse-site
hotele-site
hotelse-site
hydrocodone
hydrocone
hypersearcher
idealpaydayloans
ifinancialzone
illcom.
incrediblesearch.
inforeal07.
insurance-quotesdeals-4u
insurancedeals-4u
investment-loans
ionamin
irs-problems
jbakerstudios.
jrcreations
jrcreations.
kasino
kenwoodexcelon
land.ru
laserhairremovalhints
lawyerhints
levitra
levitra.
lexapro
life insurance
lifeinsurancehints
lipitor
lisinopril
lopressor
lorazepam
lunestra
lung-cancer
luxury-linen
lyndawyllie.
m2mvc.
macinstruct
madesukadana.
manicsearch
meridia
mightyslumlords
mlmleads
mohegan sun
mortgage-4-u
mortgage-certificates
mortgagequotes
mortgagerefinancingtoday.
musicfastfinder
mycolorcontacts
mydivx.
nemasoft.
netfirms.
nysm.
online casino
online casino guide
online poker
online slots
online-casino
online-casinos
online-debt-consolidation
online-gambling
online-pharmacy
onlinegambling-4u
orgasm
ottawavalleyag
ownsthis
oxycodone
oxycontin
p***y
pacific-poker
palm-texas-holdem-game
parmacy
party-poker
paxil
payday loan
payday-loan
payday-loans
percocet
personal-loans
pest-control
pharmacy
phentermine
phentermine.
pills-best.
pills-home.
pimpdog@gmail.com
pizzareviewblog
platinum-celebs
poker-chip
poker-games
poker-hands
poker-online
pornstar
pornstars
prescription
prohosting.
propecia
protonix
prozac
rakeback
realtorlist
realtorx2
refinance-san-diego
rental-car-e-site
romanedirisinghe
roulette
roulette
searchingrobot.
seethishome
shaffelrecords.
shemale
sightstickysubmit
slot-machine
slotmachine
student-loans
swingers-search
t35.
tenuate
term insurance quote
texas hold'em
texas holdem
texas-hold-em-rules
texas-hold-em.
texas-holdem
thorcarlson
tigerspice
top-e-site
top-franchise
top-site
trablinka
tramadol
trancetechno.
transexual
transsexual
tredgf
trim-spa
turbo-tax
ugly.as
ultram
united24.
valeofglamorganconservatives
valium
valtrex
varied-poker.
vcats
viagra
viagra-online
viagrabuy
viagraonline
vicodin
vioxx
vmasterpiece
vneighbor
voyeurism
vpawnshop
vselling
vsymphony
websamba.
whore
wiu.edu
world-series-of-poker
wpdigger.com
xanax
xenical
xrated
ycba
ytmnsfw
z411.
zenegra
zithromax
zolus
zyban
????
[url=


Please check Wordpress Comment Blacklist blog for a more comprehensive list. 

Thursday, 28 February 2013

My Wingnut Surfboard

Conditions here recently have been perfect to dig out my Wingnut. You can go pretty short on this model; my performance board is a 6'2" and I've went for a 5'8" Wingnut that suits me fine; even in under waist high waves. Having it set up as a quad enable me to flip the tail round much much more than I can on my other boards. And as set up as a thruster I find it fine in shoulder high plus waves. Here's the board description and a nice little photo I took yesterday on it. This model has a Convert fin set up for maximum versatility. Ride as a twin ,thruster ,quad or 5 fin add to that all the different size fins its endless. The Wingnut is gonna pick up on loads of waves and make small wave surfing fun. It has lots of foam to it and keeps the width through the board until its drawn in with the double wing. The wings just pull in the tail so it will have a bit more performance and hold. This board like the Peanut will still keep going even in mushy waves floating you through flat spots and weak sections. It's a fantastic board for intermediate surfers looking to step straight from a first board to something short, manoeuvrable and responsive. Also for an experienced surfer looking for a fun skatie board that finned right can also hammer it down the line in bigger conditions. This board comes with a set of FCS M thruster fins and a set of sides to quad it. Fin upgrades available just call or email. Its a compact fun board that will surprise you and keep you keen. Buy the Wingnut now.

Friday, 15 February 2013

Wordpress how to force the landing page to be a certain page ?

I was looking to get wordpress to open my homepage on another page I had created.  Is real easy but for me didn't seem like the logical area of admin for it to be in. 

In wordpress admin go to 'Settings' on the left hand side.


then click on the 'static page' radio button. 

and choose your page from the 'Front Page' drop down. 

Here's an image. 


Thursday, 14 February 2013

Wordpress Eshop Plugin - shorten description in shortcode

Using Wordpress's Eshop plugin; I'm making category pages for my products and I'm using the eshop_list_subpages shortcode. 

What I'd like to do is shorted the description down and add a price.

Adding a price is easy all you need to do is change the shortcode to

[eshop_list_subpages price="yes"]

However I couldn't find an attribute for the text length so added this hack. 

If you want it wouldn't be too difficult to make a new attribute for the shortcode. Although due to time constrictions on this job, a quick fix had to do.

OPEN

wp-content/plugins/eshop/eshop-shortcodes.php

FIND

 $echo .= apply_filters('eshop_list_excerpt',apply_filters('the_excerpt', get_the_excerpt()), $post->ID);
       

REPLACE WITH

/* littleripples.com changes  - the below line has been replaced to shorten the description
         $echo .= apply_filters('eshop_list_excerpt',apply_filters('the_excerpt', get_the_excerpt()), $post->ID);
         with -> */
        $desc =  apply_filters('eshop_list_excerpt',apply_filters('the_excerpt', get_the_excerpt()), $post->ID);
        list($shortdesc) = explode("\n",wordwrap($desc,100));
         $echo .= $shortdesc.'

';
// end of littleripples.com changes.

Wednesday, 6 February 2013

Wordpress theme location not working in child theme


I was having an issue with calling the 'theme_location' in the function 'wp_nav_menu'  in a child theme I've created. Let me explain.

I am working on a website that has been created by someone else.  On the 'header.php' page in their template they are using this call to bring up a drop down menu.

    wp_nav_menu(array(
                                        'menu_class' => '',
                                        'menu_id' => '',
                                        'theme_location' => 'farm',
                                        'container' => '',
                                        ));



AND IN FUNCTIONS.PHP

register_nav_menus( array(
        'farm' => __( 'Farm World', 'dairyland-2012' ),
        ));




however once I used a child theme the 'theme_location' does'nt work. 

The solution to this was that I needed to reassign the menu items in Theme Locations in admin > appearance > menus

As pictured





Tuesday, 5 February 2013

Why I won't be installing WooCommerce as my shopping cart on Wordpress.

I've just wasted 3 hours of working time on researching, uploading and testing the Wordpress e-commerce plugin WooCommerce and believe it is not suitable for my use. At least not without a fair bit of work. 

So here's a quick blog on it; incase reading this can save you some time.

When is WooCommerce not the right solution ?

Basically if you already have an existing website; where you don't want to change the theme then I would recommend against it.

This is the thing ->  Once you've loaded in the plugin you then need to upload a Theme from WooCommerce. 

This theme will give you a new tab.  From here you get a heap of Customization options including Layout options - Footer options.




To install this theme you do it in the same way as you would a normal theme - overiding your Theme at present.   

In short it looks like theres going to be a fair bit of leg work to get your existing Theme to look right on WooCommerce.  

Is there anyone who has done this process who can give more information on this.  I'd certainly be interested in reading the views of others

Sunday, 3 February 2013

Wordpress Child Themes

Recently I've written a whole heap of blogs about fixes and changes to themes.  However I've ploughed ahead fixing and making things without sufficiently researching good practises of writing code for Wordpress.  My apologies, i will go through all the blogs that are wrong and ammend them.

Please refer to this page for more information  codex.wordpress.org/Child_Themes