Inserting shortcode into ANY template…
Do you have a great plugin that you use all of the time, but wish you could put it in a very custom location, maybe on the index.php or footer.php page of your template, instead of just a Post or Page? Luckily there is a very simple way to do this… Instead of just using [your shortcode info], you will want to go to your location of your template, and change it to <?php echo do_shortcode( [your shortcode info] ) ?> Sounds easily enough, huh? Let’s look at an example I recently used was for the wpaudio plugin. I wanted to put near the bottom of just my...
read moreRemoving the WordPress Admin Bar
Starting in WordPress 3.X the new “Admin bar” has become a very useful feature, but if you don’t like it you can easily remove it. Just paste the following snippet into your functions.php file. add_filter('show_admin_bar', '__return_false');
read moreCustomizing WordPress Editor Font
Wish you had control over the font used by WordPress editor? No problem, the following code will allow you to change it. Simply paste it to your theme functions.php file. You can define which font to use on line 5. add_action( 'admin_head-post.php', 'cwc_fix_html_editor_font' ); add_action( 'admin_head-post-new.php', 'cwc_fix_html_editor_font' ); function cwc_fix_html_editor_font() { ?> <style type="text/css">#editorcontainer #content, #wp_mce_fullscreen { font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; }</style> <?php...
read moreDisable Your WordPress RSS Feed
By default WordPress will include the popular RSS functionnality, which is great for most sites. But there are times when having RSS feeds may become a bit confusing for your visitors, so you can use this easy fix. This code will totally disable RSS feeds (As well as other formats) from your site. Just paste the code into functions.php, and you’re done. function cwc_disable_feed() { wp_die( __('No feed available,please visit our homepage!') ); } add_action('do_feed', 'cwc_disable_feed', 1); add_action('do_feed_rdf', 'cwc_disable_feed', 1); add_action('do_feed_rss', 'cwc_disable_feed',...
read moreNivo Slider Fixed for IE
Have you recently downloaded an ElegantThemes WordPress theme, or noticed your theme doesn’t work correctly with Internet Explorer (IE)? Recently our very own, Kevin Shoffner, reported the issue to Elegant Themes regarding their Chameleon theme and we wanted to share the fix with you until ET has resolved the issue. Go to the theme folder directory and file /js/et_nivo.js Once there, you need to make sure all of the JavaScript variables are actually defined properly (put a var in front of them.) Below is the entire FIXED et_nivo.js file that works: Code: (function(){ var...
read moreConnections WordPress to Facebook Fan Pages
Lots of clients ask – “How can I get my WordPress Website Posts to Appear on my Facebook Fan Page?” With Facebook constantly changing, this may seem like an impossible effort – but once you have learned the Basics, you will be able to do it (as long as Facebook allows it.) Start by logging in as yourself on Facebook, and you will be logged in as yourself/individual. Next navigate to your Fan Page (I will be using the Gatecity Media Designs Fan Page in my example) Now click on “Use Facebook As whatever your page is called” Once you click that, you...
read moreCreating Custom Template Pages
Let’s say you wanted a WordPress page that did nothing more than show all POSTS under one Category in your WordPress site to be displayed on one page… How hard could that be? Not too bad, actually. You will need to go to your FTP program, where your current theme is located, then duplicate the “page.php” and call it something like “category-list.php” Now, go to your Editor within your WP Dashboard From here you just need to put a little custom code in your newly created page At the top of the file put the following (I usually put directly before seeing...
read moreEmbedding Facebook Video – WordPress
So you don’t want to use extra plugins, I don’t blame you. Here’s a quick and easy way to do it: Facebook does not provide any embedding code as other video hosting sites like youtube do. You can easily upload and share your videos on facebook; but if you want to share these videos with your friends or readers without any plugin on your blog, here is a very simple solution. All you have to open the video in facebook, copy the video number and paste in the following code. STEP 1: Open the video and the URL of the video will be like this one: STEP 2: Copy the...
read moreFall Savings – Over $100 today!
If you are a current client and refer a design/website paying client to us between now and December 31, 2010: You will get $100 credit for future purchases… If you refer a web-hosting client to us between now and December 31, 2010: You will get $30 credit for future purchases…
read moreWordPress Image Resizing Issue
If you are hosted with Hostgator, you may have a problem with the automatic thumbnail generation feature that many WordPress themes provide. To solve this: 1. Login to your Hostgator control panel and contact Live Chat Support. 2. Ask the support technician to white list your thumbnail generation file for mod_security . You will need to give your file name and path. The file name mostly will be timthumb.php . You can find this file inside the WordPress theme folder. An example file path wp-content/themes/theme_name/timthumb.php This is a known issue with Hostgator’s WordPress hosting and...
read more
