Scripts Index
PHP Internet Utilities  

Jack's Category Magic Plugin

download download home home   report broken
important script information
company name:
Jack Woods
license: Free
minimum requirements: No special requirements.
functional limitations:
Jack's Category Magic Plugin description
Category Magic allows you to do many magical things with categories. For example, it can display links to posts from a single category and even a random category. There are several plugins that can do that. Category Magic does more.On one of my sites, I had categories set up of locations and other categories of type. For example. Schools, Universities and Institutes are categories as are places like USA, Canada, and Thailand. I wanted a way to display posts that belong to two categories. I wanted to be able to display links to 10 posts that belong to the School AND Thailand categories. After a lot of searching, I couldn't find a plugin to do this. That's why I made Category Magic.Category Magic does the usual posts in a single category and posts in a random category, but it goes further. It puts up links to posts that belong to two categories. These can be the latest posts or random posts.You can put the Category Magic php hooks in any template file, inside or outside of the loop. It's really just a simple php function.One note: The plugin limits itself to the last 1000 posts. If you have more than 1000 posts in a single category, you will need to modify the code slightly.Installation :1) Download the plugin.2) Extract the plugin.3) Upload this category_magic.php file to your WordPress Plugins directory.4) Activate the plugin.5) Find the code that suits your needs and put it in your template or page/post. If you put it in a page or post, you need to have the WP-Exec plugin installed and activated.Note: This plugin work either inside or outside of the loop.Be sure to put all of these function calls inside php tags. () * To display posts in a single category, use this function call: glmcatpost('x','z'); x is the category ID and z is the number of posts you want displayed. This call returns z posts in category x. * To display random posts in a single category, use this function call: glmcatranpost('x','z'); x is the category ID and z is the number of posts you want displayed. This call returns z random posts in category x. * To display random posts that belong to two categories, use this function call: glmdobcatranpost('x','y','z'); x is the dominant category ID, y is the secondary category ID and z is the number of posts. This call returns z random posts that belong to BOTH, x and y, categories. * To display a number of posts that belong to two distinct categories, use this function call: glmdobcat('x','y','z'); x is the dominant category ID, y is the secondary category ID and z is the number of posts. This call returns the last z numbers of posts that belong to BOTH, x and y, categories. * This call is not 2.3 ready, yet. To display random posts in a random category, use this function call: glmrancatranpost('z'); z should be the number of posts you want to show. This call returns z random posts.
Similar scripts
Info Box on New Post/Page Editor (Popularity: ) : Do you have multiple authors creating post/pages that you need to remind them of things while they are reminding. This plugin creates a little reminder box in the upper right corner of the Add Post and Add Page areas and ...
PHP-Ping (Popularity: ) : A simple program that you can host on your server to enable people to ping from your location to anywhere. Just one file.
Virtual Bangla Keyboard (Popularity: ) : This plugin will add a Virtual Bangla Keyboard in your post's comment form. It will help comment writers to write comments in bangla. The Virtual Keyboard layout is developed by Sabuj Kundu of Amader Projukti. Some java script code is ...
Qhub Wordpress Widget (Popularity: ) : This plugin enables you to include questions posted on your Qhub account within your Wordpress blog. Related posts are included as a customizable formatted list within your posts or as customisable widgets within your sidebar.More in-depth documentation can be viewed ...
Bbpress Latest Discussion (Popularity: ) : This plugin will generates Latest Discussion list from your bbpress forum into your wordpress. It has the ability to generate latest discussion on sidebar also.The administrator can also set the behavior for this plugin. Even if your bbpress is not ...
Search Engine Report Script 2.0 [PHP] (Popularity: ) : This is PHP Script to report about Google Pagerank, Alexa Ranking, List in Dmoz, Link Popularity in Google, Yahoo, MSN, AltaVista and All the web ,number of store page in Google and MSN. PLUS+ 2.0 Version You can enter your ...
Online Server Status (Popularity: ) : This script checks server status through any web browser. It is called through an IMG tag and can be used to check multiple pages, servers or domains. The script will display an active or disconnect image depending on the check.
Network Query Tool (Popularity: ) : Network Query Tool (NQT) is a one-stop solution for getting info about a domain or IP address. After supplying a hostname or IP, NQT will do the following: reverse lookup, DNS query (dig), whois (domain or IP owner), check port, ...
PHP Binder (Popularity: ) : This program provides a web-based interface to Bind 9.X. It allows individuals to make changes to their zone files without needing to know the intricacies of Bind. It also lets users manage their own DNS settings without having to bother ...
A1Monitor Network Monitor (TCP or Web) (Popularity: ) : Monitor multiple web or TCP servers. Receive notification by email or pager if any server can't be reached a number of times in a row. It can reboot your NT server or run a batch file or program for you.
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Similar Software
Magic Beads (Popularity: ) : Tired of rushing and running? Magic Beads is a perfect retreat for relaxation! This real time, unhurried logic game purifies your mind and gives your thoughts renewed impetus for more productive work. Simply rotate colors of falling blocks to line ...
Blue Cat\'s FreqAnalyst Pro for Mac (Popularity: ) : Blue Cat's FreqAnalyst Pro is a real time spectrum analyzer with advanced functionalities. It uses the same smooth algorithms as its little brother (Blue Cat's FreqAnalyst free plugin): it has been designed to provide extreme smoothness and high resolution for ...
Magic ASCII Picture 2. (Popularity: ) : Magic ASCII Studio is a powerful ASCII Art generation platform. You can make ASCII Art Words, ASCII Art Photos and even ASCII Art Animations easily by using Magic ASCII Studio. Magic ASCII Studio can take an image and process it ...
NBA Orlando Magic Firefox Theme (Popularity: ) : This is for the fan of NBA's Orlando Magic or just someone that loves a great looking basketball theme! Includes links to the Magic's site, up-to-date videos in the sidebar! PRIVACY: We respect your privacy. We do track some data ...
Blue Cat's Flanger x64 (Popularity: ) : Blue Cat's Flanger x64 effect is very versatile: it may sound very harsh and metallic or on the contrary very soft. You can obtain a wide range of sounds with this plug-in. The included factory presets will make you explore ...
Blue Cat's Flanger for Mac OS X (Popularity: ) : Blue Cat's Flanger effect is very versatile: it may sound very harsh and metallic or on the contrary very soft. You can obtain a wide range of sounds with this plug-in. The included factory presets will make you explore the ...
Blue Cat's Widening Parametr'EQ x64 (Popularity: ) : Blue Cat's Widening Parametr'EQ is a 7 bands parametric Mid-Side equalizer based on Blue Cat's Parametr'EQ algorithms, enabling you to widen or narrow the frequencies of your choice. This special 'widening' version offers two independent equalizers for the mid and ...
Blue Cat's Widening Parametr'EQ for Mac OS X (Popularity: ) : Blue Cat's Widening Parametr'EQ is a 7 bands parametric Mid-Side equalizer based on Blue Cat's Parametr'EQ algorithms, enabling you to widen or narrow the frequencies of your choice. This special 'widening' version offers two independent equalizers for the mid and ...
Blue Cat's Widening Triple EQ for Mac OS X (Popularity: ) : Blue Cat's Widening Triple EQ is the "Widening" (Mid/Side) version of the Triple EQ shapeable filter / equalizer: it is a three bands real time semi-parametric mid/side equalizer. It lets you control the low, medium and high gains of the ...
Blue Cat's Widening Triple EQ x64 (Popularity: ) : Blue Cat's Widening Triple EQ is the "Widening" (Mid/Side) version of the Triple EQ shapeable filter / equalizer: it is a three bands real time semi-parametric mid/side equalizer. It lets you control the low, medium and high gains of the ...
ad


Rate me
supported os
Linux
Mac OSX
Macintosh
Win All, BSD, Solaris
stats
downloads 30
version 0.9.1
size in Kb 10
popularity   
585/370727
user rating 0/10
New Scripts
Popular Scripts
Latest Reviews