Add Shortcodes To Sidebar

Since WordPress is php based, in order to use shortcodes on the sidebar or anywhere on the theme, we have to use echo.

<h2><?php echo do_shortcode(‘ catlist categorypage=yes excerpt=yes excerpt_size =255)]’); ?></h2>

This is the shortcodes for catlist to list related posts in the same category on the sidebar for my single.php that I’m designing right now (the right bracket before ‘catlist’ is missing).

  • Theme Edit
    Techozoic Theme When we browse through all the themes for our blogs, we always have something in mind, we like the 3 columns, fluid (auto) width to fit all types of screen resolutions and all functions included in the theme (skin). We like Techozoic theme the best (you can see it on the footer) and we use it for all our blogs. We do need to customize the look for different blogs (color schemes), the skeleton is the same, just the dress is different. Display the blog title only on header without post title Display None of the blog or post title     
  • Move WordPress Blogs To A New Server
    WordPress has all the tools to move a current blog to a new server or a new url easily with preserving all comments, view counts and everything that I know of. I had to move my blogs with hundreds of posts and comments and view counts for many popular posts from Justhost.com to Inmotion Hosting due to “inodes” over limit (TOS). After a few trials and errors, I got it down to a few simple steps. First, we need to understand the basic of a database, especially in WordPress. I have 4 blogs using the same database, we need to use the phpMyAdmin which should be in any control panel of hosting server. BACK UP BLOG DATABASE Open phpMyAdmin, select the database of the blog we want to move to the new server, notice the tables of the database. We will need to create the same table when install the new WordPress on the new server. We need to export the database we want to move with the blog. BACK UP THE BLOG WordPress has tools: import and export function that will export/import everything of the blog which is great. ...
  • Install WordPress With InmotionHosting
    If you’ve just signed up with Inmotion Hosting like me, you will receive an email to direct you to your new server for your website and you want to start your first blog using the popular WordPress 3.2.1, here is how we did ours. Click on click here to get started and the login panel will come up. Sign in with your username and password. The AMP panel will come up, there you’ll see all these links and CPanel, click the Cpanel and it will take you to the best Control Panel in all hosting services. The shortcuts we should be familiar with are the email, file manager, mySQL database, myphpAdmin. If you’re not going to customize anything, then the Fantastico can install WordPress for you very easily, but since we’re going to create 3 WordPress blogs using 1 database and we like to do things manually. To install WordPress or any blogging system, we need to create a data base for the blog, you can use mySQLDatabase wizard or like us, we just use mySQLDatabase. Click the icon and a window will come up, create new ...
  • Sharethis Plugin For WordPress
    I use this plugin for my blogs, although this theme already has the options. There are a few “share this” but search for the “sharethis” by the website itself recommended. Just follow the direction on the website. The only thing we need to customize to our single page icons. The plugin only puts icons on the main page. Locate your “single.php” file and add these lines (you can find buttons that you want to put from Sharethis website). Sharethis settings, I use classic and not the default Multi-post      I edit the “single.php” to place buttons on the item page. On this theme, there’s home icon which I want to put these buttons next to it. My main page and single page are done with these settings
  • Flowplayer In WordPress
    2013-01-28 Flash player HTML5 player FV flowplayer plugin Flowplayer is a nice flash and video player for website, it’s a little confusing player to config with all these options. I only use it to stream some family videos. I like the embeded flash format because other required scripts on the body which sometimes, RSS doesn’t work due to syntax error. There are 2 ways to embed, one without image and one with image as default. Follow the instruction on flowplayer website to load the scripts on the head of the page. This one is the one without image, video and the codes <object width=”500″ height=”340″ data=”/flowplayer/flowplayer-3.2.7.swf” type=”application/x-shockwave-flash”> <param name=”movie” value=”/flowplayer/flowplayer-3.2.7.swf” /> <param name=”allowfullscreen” value=”true” /> <param name=”allowscriptaccess” value=”always” /> <param name=”flashvars” value=’config={“playlist”:}’ /> </object> This is the one with the image as default and the codes html codes <object width=”400″ height=”300″ classid=”clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″ codebase=”//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0″><param name=”allowfullscreen” value=”true” /><param name=”transcriptional” value=”always” /><param name=”flashvars” value=”config={&quot;playlist&quot;:}” /></object> <object width=”500″ height=”340″ data=”/flowplayer/flowplayer-3.2.7.swf” type=”application/x-shockwave-flash”> <param name=”movie” value=”/flowplayer/flowplayer-3.2.7.swf” <param name=”allowfullscreen” value=”true” /> <param name=”allowscriptaccess” value=”always” /> <param name=”flashvars” value=’config={“playlist”:}’ /> </object> Cheers, idog

Leave a Reply

Your email address will not be published. Required fields are marked *