OAS ToolBox Wordpress Plugin - Rating, Reviews, Demo & Download

OAS ToolBox Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

OAS ToolBox is a plugin that simplifies & enhances the use of WordPress. It includes functions & tools which are useful to developers and short codes that are useful to authors.

Functions & Tools Useful to Developers

  1. oas_get_page_title() – Queries the wp_cache to identify the title of a given page/post ID

  2. oas_get_page_anchor_tag() – Queries the wp_cache to identify the title & permalink of a given page/post ID and add a ‘current-page’ value to the anchor tag’s class in case the page/post being queried is that which the site visitor is currently viewing.

  3. oas_get_post_exists() – Checks to make sure that a given post/page exists and informs the user through the OAS WP ErrorFree plugin in case bla bla bla.

  4. oas_print_array() – Similar to PHP built in print_r() but it returns the output with

<

pre> html tags so the output maintains both spaces and line breaks as is.

  1. oas_report_404() – When a 404 is in place, this function allows you to log the error in the “OAS WP Error Free” dashboard with the requested url.

  2. oas_get_parents() – Retrieves the parents/grand parents id(s) of a given post/page in an array.

  3. oas_get_section_id() – Similar to oas_get_parents() but this one retrieves the grand parent id of a given post.

  4. oas_get_meta() – When you deal with huge number of post_meta you would notice that wordpress had generated lots queries to database. You can reduce the number of queries by using this function. Basically this function caches the whole meta-data in to the wordpress built-in cache.

  5. oas_date_unix() – Allows you to convert the wordpress date format in to UNIX equivalent.

  6. oas_date_format() – This function is very handy if you want the default wordpress date format to be converted to your desired date format. (Accepts all kind of PHP date format parameter string)

  7. oas_get_user_type() – Allows you to indentify the current user role. (‘subscriber’, ‘contributor’, ‘author’, ‘editor’, ‘admin’ and ‘visitor’)

  8. oas_output_buffer() – Allows you to modify the wordpress generated html body content to be modified just before it’s ready to be sent(printed) to the browser.

Short Codes Useful to Blog Authors

  1. [OAS get_page_title=PostID /] Generates the title of a given post/page id.

  2. [OAS get_page_anchor_tag=PostID /] Generates the html anchor tag with link to the given post/page id.

  3. [OAS get_page_href=PostID /] Generates the permalink to a given post/page id.

  4. [OAS get_date=Y-m-d /] – Generates the current date.

Screenshots

Not Available


Reviews & Comments