One of my clients wanted the ability to limit search to within a category. I found this great code on WebsTutorial – http://www.webstutorial.com/wordpress-multiple-category-search/content-management-system-cms/wordpress-cms This code gives the ability to search over two categories at the same time. I just removed the second category field and it seems to work great. All without a plugin. Great […]
Category Search in WordPress
Custom Login Logo
Making the dashboard area of a WordPress website identified with a client’s company is something that will help a client feel that their site is theirs and not WordPress’s. Adding this function in the functions.php file will show a custom logo at the login screen.
Different Google Analytics code on different pages
I recently had a client that wanted to show different Google Analytics code on different pages. I would have had to create different page templates in this client’s WordPress website except I use Genesis which gives me the power to add custom code in different sections and pages of the site. With the plugin, Genesis […]
Database Magic – replacing text strings
Migrating WordPress websites from the development server to the live server can be a complicated and chair-gripping experience. One of the tasks that we need to take on is making sure the URL’s are pointing at the correct server or host. In the past we’ve done a general find and replace in the SQL database […]
Media Library – Acceptable File Types
While attempting to upload some videos this week, WordPress did not allow me to upload certain file types. I found this helpful page and information: http://msyk.es/blog/adding-removing-allowed-filetypes-wordpress-media-library/ I added the following code in the theme’s functions.php file to allow me to import my video files. function my_myme_types($mime_types){ $mime_types[‘f4v’] = ‘video/f4v’; //Adding f4v extension return […]
WordPress Maximum Media File Upload Size
This week I have been trying to import some video files to a website. By default, WordPress limits the size of a file to 8M. Not very large for when we need to upload video files. In researching the solution for this, I found this post: http://bavotasan.com/2012/increase-max-upload-file-size-in-wordpress/ The key is to create a php.ini file […]
htaccess woes solved
This week I had a URL rewrite/forwarding issue with one of the websites that I created. The site was rebuilt in WordPress from a static HTML website. The client wanted to make sure that old links took people to an appropriate page or similar page on the new site which now had new or different […]
Shortcodes in WordPress
I’ve been creating WordPress themes and websites for many years now and I still love learning new things – like shortcodes. I knew there was a lot of power just waiting to be welded with shortcodes, but because Genesis is such a powerful and feature-rich framework, I haven’t needed to create any shortcodes of my […]