Plugin / George Page Name Retrieval

PressPage Entertainment Inc.

Description

Description

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:

  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

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

For support, go to https://github.com/presspage2018/george-page-name-id-retrieval/issues. You will require a free account on github.com.0

Please contact presspage.entertainment@gmail.com or visit the above forum with questions, comments, or requests.

Ratings

0
0 reviews

Rating breakdown

Details Information

Version

1.1.1

First Released

17 Dec, 2009

Total Downloads

774

Wordpress Version

2.8.6 or higher

Tested up to:

4.6.16

Require PHP Version:

-

Tags

There is no tag found

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.