How to Install FancyBox Lightbox on a WordPress Website

Posted in Code Snippets, Website Tips, Wordpress

1. Paste this code after the opening tag and before the closing tag in your header.php file. (Just after the lines that start with “” is a good spot.) <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory');?>/fancybox/jquery.fancybox-1.3.4.css" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script> <script type="text/javascript" src="<?php...

Read More

Adding Custom Fields to bbPress Topics, then Filtering Topics by Custom Fields using Views

Posted in bbPress, Website Tips, Wordpress

I am creating a rideshare site. My goal was to add custom fields to bbPress topics, and then filter those topics in order to display relevant information to the user. For example, I want people offering rides to be able to select their “Destination” from a dropdown list. Then, I want users to be able to filter the offered rides by destination. 1. Create the custom bbPress topic fields To create the custom bbPress fields, I used a premium plugin called “GD Custom Posts and Taxonomy Tools“,...

Read More