User : i-am-andy
|Youtube Video in Fancy Box pop up with Thumbnail||i-am-andy||HTML||up||
Add a Youtube video to a page with a dynamically generated thumbnail, when the thumbnail is clicked open the Youtube video in a jQuery Fancybox modal window. Auto play the video and hide related videos at the end
|Typekit Controlling the flash of unstyled text||i-am-andy||CSS||
Stop the flash of unstyled fonts when Typekit is loading
|Wordpress Conditional statement for Singular Custom Post Type||i-am-andy||PHP||wordpress||
Suppose you wanted to check if a user was viewing a singular post with the post type of testimonial. You can use the next code sample to perform this check.
|Display Twitter Feed In Wordpress||i-am-andy||PHP||wordpress||
Displaying your latest tweets is a good way to encourage people to follow you on Twitter. The most common place to display tweets is in the sidebar, although you can add them to any area of the website.
|Wordpress wp_get_archives for a specific category||i-am-andy||PHP||show||
Get Wordpress wpgetarchives for a specific category... by default it sghows all categorys
|Load latest version of jQuery from Google Libraries API and de-register Wordpress version||i-am-andy||CSS||php||
Load latest version of jQuery from Google Libraries API and de-register Wordpress version
|List Custom Post Type anywhere||i-am-andy||PHP||post||
Useful for adding Custom Post types to navigation this will list all custom post type posts
|June 27, 2012|
|Show only children posts of a parent custom post type, not all child posts||i-am-andy||PHP||wordpress||
Show only children posts of a parent custom post type, not all child posts
|January 10, 2012|
|Add a Custom ID to the Body Element in WordPress||i-am-andy||PHP||wordpress||
Add a custom ID to the body, useful for when the classes added to the body aren't descriptive enough on pages like Archives and single
|January 9, 2012|
|Show list of Child pages and Featured Image on Current Page||i-am-andy||PHP||get||
Show all child pages content and featured image on the parent page
|January 9, 2012|
|Wordpress hierarchical sidebar nav||i-am-andy||PHP||sidebar||
Wordpress hierarchical sidebar nav using wplistpages
|December 29, 2011|
|Wordpress register Custom Post Type and Custom Taxonomy||i-am-andy||PHP||post||
Register a Custom Post Type and a Custom Taxonomy in Wordpress
|December 29, 2011|
|Display recent Twitter tweets using PHP||i-am-andy||PHP||get||
If you’ve ever wanted to display your latest Twitter tweets on a website, here is method to do that using PHP.
|December 6, 2011|
Change the text of the jquery cycle pager element. By default is is 1, 2, 3 etc but you can change this to text via a variable
|November 23, 2011|
|Removing info / address bubble from google maps embed code||i-am-andy||XHTML||
Remove the info / address pop up on a google map embed code.
Until last month: the iwloc parameter was responsible to GET the window opened or not the following way: It the parameter was missing by deafult the infow window was NOT opened. And vice versa: to get it opened the parameter should there OR while the gotten code wouldn't be contain the iwloc ONE was forced to ADD it manually!
I did not notice WHEN they changed this!!! However NOW it seems to be reverse: In your case (in your provided embedding code [maybe created using my previous hints in this thread]) the iwloc parameter WAS NOT THEREIN. I confirm: NOW this means obviously the info window will OPENED by DEFAULT.
To get the embedding code for an iframe with an UN-opened Placemark it's again necessary to ADD an OTHER value for the IWLOC paramter: iwloc=near DOES the trick NOW!
|November 2, 2011|