One of the best features of the updated Jetpack by WordPress.com plugin is the Tiled Galleries where you can create elegant magazine-style mosaic layouts for your photos without having to use an external graphic editor. This is very cool and you can create galleries that look like what you see below.
One issue that I, and other users have run into is the width of the gallery not filling the width of the content area that it sites in when the page is drawn. And looking at the DOM elements in the page we see that the widths are all inline CSS, so we know that this is doing something on the fly, right? Continue reading
I’m embarrassed to say that a site I host was recently hacked and any request coming from a search engine was being redirected to a less then desirable location.
I thought that I’d share what happened and then tell you what I did. Continue reading
I ran into an issue in the last couple of days on NameCheap.com Shared Hosting while using the WordPress Plugin named backwpup.
I noticed that the last few days backups have given the following warning:
shell_exec() has been disabled for security reasons
After sending a ticket to tech support I was told that I needed to add a php.ini file to my webspace. In this file I would need to add the following:
I added the php.ini to the webroot of my site, in this case the /public_html/ folder of my account.
Upon checking in my WordPress admin, I was still seeing the same issue, so I responded to the support ticket and was informed that I would need to add a comment to my .htaccess file, as follows:
This again did not work, so I added the full path:
Doing this has fixed the shell_exec() errors I was seeing in the site. I hope this helps if you are seeing the same issues.
This code is also available on Pastebin.com, pastebin.com/cS71HSdy
I ran into an issue this week with a site I have hosted at NameCheap.com on their shared hosting plans.
NameCheap.com has seen it fit to:
“disabled sending any emails with the field ‘FROM’ containing [an] email address on the domain that does not exist on the server.”
They go on to say that:
“We have taken these measures due to mass SPAM sending through forums, guestbooks, contact forms scripts on our servers.”
This is a bit of a pain if you are using Google Apps or some other remote provider for email. Hopefully, the following will allow you to setup workable SMTP sending from your account, even though your mail is remotely hosted.
Setup a New Subdomain in CPanel
Firstly, you will need to setup a new subdomain in CPanel. If your DNS is running at NameCheap.com this is OK as the entry in CPanel will be automatically setup. If you are running DNS elsewhere, such as GoDaddy.com using the Total DNS tool, you do not actually need to setup a new A Record or CNAME for this. This is really just a dummy subdomain needed to send the mail.
Click on Subdomains
Enter the name of the new subdomain:
Enter new subdomain name
Add MX Data for the new Subdomain
Manage MX Records
Select the new subdomain:
Select new subdomain
Add the new MX Record, pointing it to your main domain. This will be the main domain in your CPanel account.
Add new MX record
This is all you need to do. You can now send out email from your Shared Hosting account using an address that is hosted with a remote email service, such as Google Apps or GoDaddy.com
At this point, you could also create an account locally in under the new subdomain so you can authenticate for SMTP, but I have not seen this to make a difference.
This was a little JS snippet that was passed to me by a co-worker at Mannix Marketing, Inc. that allows you to build the UI into a scrolling page.
Get the code…
The original code is found here, where you can see a demo of the code.
I have saved the code at Pastebin - pastebin.com/1SbZ3rNP