WordPress plugin intelligence profile

George Page Name Retrieval

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

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 5.5
Current version1.1.2
WordPress coverageTested up to WordPress 5.5
Minimum stackWP 2.8.6 · PHP —
Directory statusactive
Last directory update23 Aug 20206y ago
Active installations10Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records George Page Name Retrieval version 1.1.2 as active, updated 6y ago and tested up to WordPress 5.5.

Overview

About this plugin

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

Usage

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:

  • george_get_post_id(); => Returns the Post ID of the current page/post
  • george_get_post_title(); => Returns the Page Title
  • george_get_post_name(); => Returns the permalink page/post name
  • george_get_pageid_by_permalink($permalink); => Returns the page/post ID for the specified permalink
  • george_get_permalink_by_id($id); => Returns the permalink for the specified page/post id
  • 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

Customization

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”

Credits

We make honorable mention to anyone who helps make George a better plugin!

Contact

com/presspage2018/george-page-name-id-retrieval/issues. 0

com or visit the above forum with questions, comments, or requests.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • george page post name page id title
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 5.5

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 5.5.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to5.5
Minimum requirementsWordPress 2.8.6 · PHP not listed
Update activity23 Aug 20206y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.