Tag Archives: wordpress

How to insert a photo from Media Gallery into WordPress

Problem: I am trying to make a post. I have a loaded in our Media Gallery but when I go to the post and try to put in the post I can’t get to it. Solution: try clicking on the left hand column that says gallery / all images Visual Example: Steps: Click Add Media Choose Insert Media Choose Media Library Click on the photo, image, picture you want to insert Click “Insert Into Post”

Posted in Tech Tips, Web Development | Tagged , | Leave a comment

WordPress 3.6 changes the admin icons

The new version of WordPress – 3.6 – which is still in Alpha as of Feb 2013, has changed the admin icon set for the main menu in the administrative interface. Here is a preview of what the new icons look like: What do you think about the new icon set?

Posted in Design, Software | Tagged | Leave a comment

HackRepair.com Blacklist

Recently I was checking out the Better WP Security plugin for WordPress and noticed that the plugin comes with a cool blacklist of useragents from HackRepair.com (btw that website seems to have a lot of great info on fixing hacked wordpress sites). Anyhow I found that after installing the plugin my .htaccess file was updated and included a new section to block malicious IPs and user agents. The list looks like this:

Posted in Security, Server Admin, Tech Tips, Web Development | Tagged , | Leave a comment

How To Build a Roots Child Theme

Step 1 – Download the Roots Theme Download the Roots (based on Bootstrap) theme for WordPress at http://www.rootstheme.com/ Step 2 – Unzip / Install the Roots Theme Unzip the theme and install it in your /wp-content/themes/ directory – the resulting path should be /wp-content/themes/roots/ Step 3 – Create a Child Theme Create another directory for your child theme in the /wp-content/themes/ directory – perhaps something like /wp-content/themes/my-awesome-theme/ In that directory you will need to create a style.css file that should contain the following information: /* Theme Name: My Awesome Child Theme Theme URI: http://www.my-awesome-child-theme.com/ Description: A child theme based on the Roots / Bootstrap wordpress theme Template: roots */ Now you should be able to select this as the child theme in the theme chooser. By default everything will be the same as the parent theme. To override files, copy them to the child theme directory and then modify them. The functions.php file will actually get loaded before the parent functions.php so you may need to do something like: add_action( ‘after_setup_theme’, ‘my_child_theme_setup’ ); function my_child_theme_setup(){ // your code here } In order to have some things modify what the parent theme has set.

Posted in Design, Software, Tech Tips | Tagged , , | Leave a comment

Martha Sawyers Comments

“Martha Sawyers” has been posting posting spam comments on my blog. The comments are the usual spam kind, talking about how great a post is or that it renders weird in a particular browser, or that she would love to see more written on the topic. Here are a few examples: I don’t even know the way I ended up right here, but I believed this submit was once great. I don’t recognize who you might be however definitely you’re going to a famous blogger when you are not already. Cheers! And another: Woah this weblog is magnificent i like studying your posts. Stay up the great paintings! You realize, many persons are looking around for this information, you could help them greatly. and finally: obviously like your web-site however you need to test the spelling on quite a few of your posts. Many of them are rife with spelling problems and I in finding it very troublesome to tell the truth then again I will definitely come back again. Did you get some similar spam comments from Martha Sawyers? Leave a note below!

Posted in Marketing, Security | Tagged | Leave a comment

MailChimp for Gravity Forms: Ajax error while selecting a form

If you’re using MailChimp Add-On v1.7 with Gravity Forms 1.6 in WordPress, and trying to set up a MailChimp Feed on the page /wp-admin/admin.php?page=gf_mailchimp, you may possibly be getting the following error: Ajax error while selecting a form This plugin is supposed to be easy to set up forms and lists with MailChimp, but why am I getting a Server 500 error? I looked into the PHP error logs and came across this: PHP Fatal error: Call to undefined method MCAPI::listInterestGroupings() in wp-content/plugins/gravityformsmailchimp/mailchimp.php on line 1123 There is a listInterestGroupings() function but the calling function which uses this code: $api = self::get_api(); self::log_debug(“Retrieving groups”); $groupings = $api->listInterestGroupings($selected_list_id); Is having trouble with it. The workaround for me was to comment out line 1123 which contains: $groupings = $api->listInterestGroupings($selected_list_id); The next part of the function has an if(!empty()) conditional. So until the developers get around to fixing this bug this seems to allow me to move on to the next steps with my Mailchimp widget.

Posted in Linux, Tech Tips, Web Development | Tagged , , , , | 1 Comment

Download Verve Meta Boxes

Verve Meta Boxes used to be available from avenueverve.com at their website – http://www.avenueverve.com/verve-meta-boxes/ The plugin has disappeared from that site as well as from the WordPress plugin repository. The latest version of the plugin, I believe, was Version: 1.2.9 You can download this version from my blog at verve-meta-boxes.zip. Happy WordPressing! Verve Meta Boxes Screenshots

Posted in Tech Tips, Web Development | Tagged , , , | Leave a comment

WordPress.org is down – July 2012

WordPress.org is down on July 25, 2012 with a “502 Bad Gateway” error message. This site is so reliably up that it is strange to see WordPress.org be offline. I noticed it when I was using a wget command to download the latest version. wget http://wordpress.org/latest.tar.gz –2012-07-25 11:31:20– http://wordpress.org/latest.tar.gz Resolving wordpress.org (wordpress.org)…, Connecting to wordpress.org (wordpress.org)||:80… connected. HTTP request sent, awaiting response… 502 Bad Gateway 2012-07-25 11:31:20 ERROR 502: Bad Gateway.

Posted in Software, Tech Tips, Web Development | Tagged , | Leave a comment

WordPress: Convert All Tables To Utf8

Are your WordPress MySQL Tables of mixed charsets? The ideal or standard character set is utf-8 as it supports multiple languages and special characters – so people from all over the world can post comments, register, and interact with your blog without having characters from their name, languages, etc converted into weird or strange symbols. I read the WordPress article on Converrting your Tables but wasn’t so sure which direction to go. The article states: In most cases if a collation is not defined MySQL will assume the default collation for the CHARSET which is specified. For UTF8 the default is utf8_general_ci, which is usually the right choice. After a little research I got it working. The following code is from the supplemental code page from that article and I found that the code below (second code block on that page) worked well for WordPress 3.4.1 I would not recommend using the bash script at the bottom of that page because while it converts the tables it doesn’t convert the fields. When connecting from the command line you may need to specify –protocol=TCP if you get an error like ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2) But again, I would not really recommend that script, because while it will run, it will basically only run the following commands: ALTER TABLE wp_commentmeta CHARACTER SET utf8; ALTER TABLE wp_comments CHARACTER SET utf8; ALTER TABLE wp_links CHARACTER SET utf8; ALTER TABLE wp_options CHARACTER SET utf8; ALTER TABLE … Continue reading

Posted in Server Administration, Web Development | Tagged , | Leave a comment

How to set the Featured Image in WordPress

To set a featured image, while editing a page click the “set featured image” link, or if one is existing click the remove link and then click the “set featured image” link. Next you can choose one of the tabs on the window that pops up. If you want to upload an image just drag the image to the window or click on “select file” and choose the image you want. You can also select an image from the media library by clicking on that tab, or if images have already been attached to that post a “gallery” tab will show up. After you upload the image, or if you go to the media library, you can click on the image name to show more details about it. Then, near the bottom there will be a “use as featured image” link.

Posted in Tech Tips, Web Development | Tagged , , , | Leave a comment