Category Archives: PHP
WordPress Plugin Development – Relate Posts as a Series Part 2
So, we started our dive into WordPress plugin development with the first part of this tutorial where we talked a little about planning, basic plugin structure, custom post types, metaboxes and how to add custom functions to WordPress's defaults actions. Today we will talk a little more about metaboxes and jQuery, shortcodes, and front-end functionality. All these things with a pretty practical example of how to make a plugin that will relate posts as a series. So, let's rock!
Getting Smarter Code with PHP Variable Variables and Variable Functions
Oh, variables. Who doesn't love them? They are such nice guys, you know. When you need something, just call $something and your value is there.
But something really cool is that you actually don't need the name of the variable. You can use other variables to access a value of one variable.
For example, let's say you have two variables $jude = "hey" and $hey = "jude". If you echo $$jude $$hey(yeah, double "$") your output will be "hey jude".
But, as you might be thinking it is not just about variables. You can name dynamic functions, methods, arrays, and almost anything you want to.
This time we will see some uses for it, with arrays, functions, classes and how this technique can help you write better code.
So, let's rock!
WordPress Wp_Nav_Menu with Icons and Active Item Highlight
WordPress is a great tool, for sure, but as many other CMS' it drives us into an "all standard" way of thinking, that is, you design things thinking that every element has to be identical to his brothers, same color, same style, same size. How many WordPress sites with pretty menu icons do you know (with wp_nav_menu, not "static" menus)? How many of them use a different color for some categories? Well, these little things make a big difference. This time we will learn a simple way to customize our WordPress menu, without losing its wonderful admin options. We will be doing: • Home link in our wp_nav_menu that always gets current blog url • Customize each menu item as you want • Put pretty icons in our menu • Active item highlight From now on, it is useful to have a little understanding about what wp_nav_menu is, and if you have a blank WordPress install, it is time to play with it ;) So, let's rock!
How to Create a Web Spy with a PHP Crawler
Crawler, spider, bot, or whatever you want to call it, is a program that automatically gets and processes data from sites, for many uses. Google, for example, indexes and ranks pages automatically via powerful spiders, crawlers and bots. We have also link checkers, HTML validators, automated optimizations, and web spies. Yeah, web spies. This is what we will be doing now. Actually I don't know if this is a common term, or if its ever been used before, but I think it perfectly describes this kind of application. The main goal here is to create a software that monitors the prices of your competitors so you can always be up to date with market changes. You might think "Well, it is useless to me. You know, I'm a freelancer, I don't have to deal with this 'price comparison' thing." Don't worry, you are right. But you may have customers that have a lot of competitors they want to watch closely. So you can always offer this as a "plus" service (feel free to charge for it, I'll be glad to know that), and learn a little about this process. So, let's rock!
Creating Your Own CMS Part 3 – Advanced Features
If you have been following along you should have a simple CMS built that has a place to securely log in and you should be able to create some users and access levels for your site. If you are creating a CMS you will need more than just to be able to log in and create users so here in part three we will get into a few of the things that you can do with your own CMS. A few people have really knocked the idea of creating your own CMS which is fine because we can all have our own opinions so I will just tell you all why I personally like to use my own.
16 Hot Websites To Download Cool Scripts
The IT industry is full of tough challenges for developers who are one step away from creating new forms of interaction. The trend of web scripting is growing rapidly and developers are striving to develop web pages which automate more tasks on a website. The benefit of client-side scripts is that HTML supports it regardless of the language that is used for scripting. By using these scripts, developers are able to introduce plenty of highly active ways to enhance HTML documents.
Creating Your Own CMS Part 2 – Access Levels & Administrators
Alright if you have read the first article that we worked on a while ago "Creating Your Own CMS Part 1 - Secure Login" then you should have some sort of CMS design with a secure login. Now that we can login to our CMS we will need to have an easy way to add an administrator and of course give them access to only certain parts of the CMS. But first one little thing that I decided to add in to make it easy for you to login without having to manually add an entry in phpmyadmin was to make the first login attempt double as a create user.
PHP for Beginners: Part 4 – PHP With Forms and Final Notes
In the last part, I showed you how to use PHP to send e-mail messages. In this part I will continue this and also show you how to use PHP and forms together to make your PHP scripts more useful.
21 Easy To Customize Premium PHP Contact Forms
One of the most hardest jobs in web development processes definitely is form creation. Coding behind these forms are painless enough, but then you need to think also about Spam filters, usability, interface and functions should work in all cases. Keeping this in mind, I gathered here 21 various premium Php forms created for all the cases you should ever need – sign-up forms, advanced contact forms powered with Ajax, jQuery, e-mail signup forms, file uploads and much more. All of these forms also come with good user interface and design, so you don’t have to worry about those little things, but just focus on big tasks! How cool is that?
How to Create a PHP Website Template from Scratch
This is a tutorial on creating a PHP website template starting with HTML and CSS. We will start with the basics and you can also download the final product. Please remember that I am using very basic CSS styling in this example just for you to get the idea, and not so much to make it look pretty. The download will contain both the styled example as well as a complete blank template that you can use for your own starting point for any project personal or commercial. The demo files are released under GPL V2.