Plugin Directory

Test out the new Plugin Directory and let us know what you think.

George Page Name Retrieval

George Page Name Retrieval adds needed functionality to wordpress developers for retrieving a post/page name, id, and title

You have a theme and you need to filter certain pages to either display uniquely or perform some customized operation. In order to make these custom modifications in your theme, you need to get the page id, title or permalink and then when that page is loaded, you can act appropriately. Before "George Page Name ID Retrieval," ther was no easy way of retrieving this page/post information. George makes this task very easy. You can now retrieve this information directly in your theme files from PHP API's, or from your wordpress pages/posts using shortcodes


You may use George either in you PHP/Theme files or from your WordPress posts and pages. To use the API, simple invoke the function that returns the page information requested. There are three API's for this purpose:

  1. george_get_post_id(); => Returns the Post ID of the current page/post
  2. george_get_post_title(); => Returns the Page Title
  3. george_get_post_name(); => Returns the permalink page/post name
  4. george_get_pageid_by_permalink($permalink); => Returns the page/post ID for the specified permalink
  5. george_get_permalink_by_id($id); => Returns the permalink for the specified page/post id
  6. george_display_shopp_cart_count($url); => Returns a link to your Shopp shopping cart page with the total cart items as, Shopping Cart (0) [requires Shopp to be installed and activated]

You can also invoke the API's from your WordPress pages/posts through short codes.

[george-query choice="id|title|name|outid|outperm" value="permalink|id|url"] => where,

  • id = the page/post id
  • title = the page/post title
  • name = the page/post permalink name
  • outperm = contains the permalink of the page id to retrieve
  • outid = contains the id of the page from the specified permalink
  • shopp = gets the cart count for your Shopp shopping cart

You enter one of the following values between double quotes:

  • permalink for choice outid
  • id for choice outperm
  • url is the url of your Shopp shopping cart page


The code written for this plugin is straight forward and can easily be customized. If you do customized this plugin and submit your changes to us, we will make honorable mention of your customization in the Credits.

You can edit the george_display_shopp_cart_count() function to return a different text other than "Shopping cart"

Requires: 2.8.6 or higher
Compatible up to: 4.6.3
Last Updated: 6 months ago
Active Installs: 10+


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.