The following tutorial will display your latest 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 a unordered list for the jQuery news ticker to work. This tutorial is meant for non WordPress websites to access their WordPress powered blog although it can be easily adapted to work in WordPress pages and posts.
Tag Archives: Tutorial
Create a Twitter App For The New API
As you may, or may not know, Twitter are going to depreciate version 1 of their API next March. What does this mean to you? If you currently parse the Json file to display your tweets you will no longer be able to have access unless you use the authentication features. Why authentication? Various reasons I assume to limit users from making unnecessary calls to the API, Security reasons. How do I go about it? Well now you will have to create a Twitter App then use a form of authentication to make the API call.
Display WordPress Posts on another WordPress Blog
Following on from the post Display Your WordPress Recent Posts on a Static Page which was used to display your WordPress posts on a non-WP website on the same server. I have had several people contacting me on how to display WordPress posts on another WordPress blog. This tutorial will show you how to display your posts, associated post thumbnail images and a snippet of the content from one blog to another by fetching the data from your RSS feed using the SimplePie RSS parser which is included in the WordPress installation.
Display Your WordPress Recent Posts on a Static Page
This tutorial shows you how to display your recent posts on a static web page. So now you ask the question ‘Define Static?’ A static webpage can be anything from a free website from an application server to a HTML developed page. There are a variety of reasons why you may have static pages. You could, for example, have built a website from scratch and then decided to integrate a blog or news section into it and require to pull some information from the blog to your homepage. There has been several methods on the web including directly accessing the database. This is a simple but elegant solution in which I will show you 2 methods, one of which will be on a page with a .php extension and another will be on a page with a .htm extension. If you want to display your latest posts on a existing WordPress blog please check out the following post
jQuery Disable and Enable Form Elements Using a Checkbox
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.
WordPress Navigation- Dropdown Menu Image
Having updated my theme to make use of the WordPress navigation menus I decided I wanted to have a indicator to display that there is a drop down menu. This can be done many ways with plugins etc but I wanted to do it without the need of a plugin. So I had a think and came up with this idea which requires very little knowledge to carry out.
PHP and jQuery checkbox array with a hint of Jquery UI
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 a MYSQL database. This tutorial also makes use of the jQuery UI which we will use to display our dialogs.
Getting to grips with PHP Radio Buttons
Following on from getting to grips with PHP Checkboxes I decided to write a little tutorial on radio buttons. As you know radio buttons can only have 1 state either on or off and only one can be selected at any one time. Here is a simple tutorial on how to get data from a database, select the radio button, get data from the form and update the database. If you have previously read and completed the setup procedure the process is the same so you may want to go straight to the demo.