Skip to main content

Coding - Page 4

Jquery News Ticker – Display External RSS Feeds

Display RSS

In this tutorial, I will show you how to display single or multiple RSS feeds using SimplePie in your WordPress theme in a news ticker style format using the jQuery news ticker script. If you want to link to your blog content try this tutorial. If you want to add a news ticker to a website that doesn’t use WordPress primarily but features a WordPress powered blog section then try this tutorial.

Jquery News Ticker – Display Recent Blog Posts

Display latest Blog Posts

In this tutorial, I will show you how to display your recent blog posts in your WordPress theme in a news ticker style format using the jQuery news ticker script. If you want to link to the external RSS feed(s) try this tutorial. If you want to add a news ticker to a website that doesn’t use WordPress primarily but features a WordPress powered blog section then try this tutorial.

Multiple Users – Access Twitter 1.1 API with Oauth Script

Twitter Outline

Checkout WOW-Multi-Twitter 2.0 Primarily the focus of this tutorial is to display your cached tweets for 2 users using PHP and OAuth on your website. We will be accessing the secure Twitter 1.1 API with PHP by parsing both JSON files and merging them into a single file to cache and store on your server. This is a follow up from Display Your Cached Tweets Using PHP and OAuth which is recommended for a single Twitter user.

Display Your Cached Tweets Using PHP and OAuth

Twitter Outline

Primarily the focus on this tutorial is to display your cached tweets using PHP and OAuth on your website. We will be accessing the secure Twitter 1.1 API with PHP by parsing and caching the JSON file to store on your server. It may seem a lot of code just to display your latest tweets on your website but the benefits are that you can style it to your own taste with a little CSS and caching the JSON file will not add extra load on the Twitter API. Checkout WOW-Multi-Twitter 2.0 For WordPress users you should use WordPress – Display your Cached Tweets using PHP and OAuth or my new plugin.

Display WordPress Posts as a News Ticker

WordPress

The following tutorial will display your latest WordPress posts in a news ticker format. The code is basically the same as my popular post Display Your Latest Posts on a Static Page except that the output is in an unordered list for the jQuery news ticker to work. This tutorial is meant for non WordPress websites to access their WordPress powered blog. To add a news ticker to your WordPress powered blog to display your latest posts try this tutorial. To add a news ticker to your WordPress blog with external RSS feeds try this tutorial.

WordPress – Display your Cached Tweets using PHP and OAuth

Twitter Outline

Primarily the focus of this tutorial is to display your cached tweets using PHP and OAuth on your WordPress website. We will be accessing the secure Twitter 1.1 API with PHP by parsing and caching the JSON file using the WordPress API. It may seem a lot of code just to display your latest tweets on your website but the benefits are that you can style it to the taste of your theme with a little CSS and caching the JSON file will not add extra load on the Twitter API.

New Update. I have packaged all of the features and more into a WP plugin. Please remember to remove any of the code used from this post before installing the plugin. Check out WOW-Twitter.

Top 10- jQuery Tutorials

jQuery

Being a big fan of jQuery I have put together a selection of jQuery tutorials. Tutorials that range from simple tooltips to navigation menus and image galleries. Do you have any favourite tutorials or do you reach straight for the plugins? Please feel free to comment.

jQuery Disable and Enable Form Elements Using a Checkbox

jQuery

Here is a simple little snippet that uses jQuery to enable or disable text input boxes in forms using a checkbox. When disabling the text boxes it prompts you to confirm it so that you don’t accidentally delete your data. This might be useful for forms elements that need to be enabled or disabled when a certain checkbox is checked like in a options page. The code itself is quite self-explanatory but please feel free to ask if you are having any problems.  This script has now been included in wow playground with new and updated features.

PHP and jQuery checkbox array with a hint of Jquery UI

Checkboxes

I have been learning jQuery alongside PHP to help with my event manager project. Here is a tutorial on how to get the values of a checkbox array, post it via a jQuery Ajax call and subsequently delete the values from an MYSQL database. This tutorial also makes use of the jQuery UI which we will use to display our dialogues.  This script has now been included in wow playground with new and updated features.