[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$f57LRWjnUq0XGykia-uMBVVZSj2Hufkk87Ej4YacPsUc":3},{"slug":4,"display_name":4,"profile_url":5,"plugin_count":6,"total_installs":7,"avg_security_score":8,"avg_patch_time_days":9,"trust_score":10,"computed_at":11,"plugins":12},"sroyalty","https:\u002F\u002Fprofiles.wordpress.org\u002Fsroyalty\u002F",1,10,85,30,84,"2026-04-04T22:37:24.878Z",[13],{"slug":14,"name":15,"version":16,"author":4,"author_profile":5,"description":17,"short_description":18,"active_installs":7,"downloaded":19,"rating":20,"num_ratings":20,"last_updated":21,"tested_up_to":22,"requires_at_least":23,"requires_php":24,"tags":25,"homepage":31,"download_link":32,"security_score":8,"vuln_count":20,"unpatched_count":20,"last_vuln_date":33,"fetched_at":34},"meta-extensions","Meta Extension","1.0.3","\u003Cp>This plugin takes a simple concept of giving you fields to enter information that use the meta tags built into\u003Cbr \u002F>\nWordpress and expands on it. Modifying conf.txt in the plugin directory will allow you to enter custom fields to\u003Cbr \u002F>\nthe Posts pages to add textfields, textarea, dropdown selections, checkboxes, and radio selections.\u003C\u002Fp>\n\u003Cp>On top of all this simplicity, it also integrates several popular WordPress plugins. With gallery selection for\u003Cbr \u002F>\nNextGen Gallery you can select a gallery to save the id to a meta field for your post to pull in your theme. Support\u003Cbr \u002F>\nfor WordTube video selection is also added. WP-Download Manager is also supported in this initial release to get ids\u003Cbr \u002F>\nfor downloads as well.\u003C\u002Fp>\n\u003Cp>Now while that may seem enough to make this a popular plugin, there is more. Meta Extensions allows you mark the\u003Cbr \u002F>\nfields to auto add tags based on field title or content (explained in the readme). It also allows you to set up\u003Cbr \u002F>\ncheckboxes to add a post to\u002Fremove from a category automatically as wanted. All from the single conf.txt file included\u003Cbr \u002F>\nwith the plugin.\u003C\u002Fp>\n\u003Cp>One of the latest features is the ability to place conf.txt in your current theme’s directory. By placing conf.txt in\u003Cbr \u002F>\nthe theme directories this allows you to run the plugin with multiple themes on your site and have custom conf.txt per\u003Cbr \u002F>\ntheme to only show the specific fields needed in that theme. If the file is not in the theme directory, it pulls from\u003Cbr \u002F>\nthe default conf.txt in the plugin’s directory.\u003C\u002Fp>\n\u003Cp>Related Links:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Ca href=\"http:\u002F\u002Fwww.premiumdigitalservices.net\u002Fblog\u002F\" title=\"Meta Extensions Plugin for WordPress\" rel=\"nofollow ugc\">Plugin Homepage\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>Arbitrary section\u003C\u002Fh3>\n\u003Ch4>CONFIGURATION\u003C\u002Fh4>\n\u003Cp>Filed\u002FElement Types:\u003Cbr \u002F>\n    textfield – HTML Form Textfield\u003Cbr \u002F>\n    textarea  – HTML Form Textarea\u003Cbr \u002F>\n    checkbox  – HTML Form Checkbox\u003Cbr \u002F>\n    radio     – HTML Form Radio selections\u003Cbr \u002F>\n    select    – HTML Form Select box\u003Cbr \u002F>\n    gallery   – HTML Form Select box to choose a NextGen Gallery\u003Cbr \u002F>\n    video     – HTML Form Select box to choose a Wordtube Video\u003Cbr \u002F>\n    download  – HTML Form Select box to choose a WordPress Download Manager file\u003C\u002Fp>\n\u003Cp>To specify the custom fields, edit the file conf.txt\u003C\u002Fp>\n\u003Cp>Each entry begins with the subject inside square brackets. The second\u003Cbr \u002F>\nline specifies its type. The third line, which only applies to type\u003Cbr \u002F>\n“radio” and “select,” enumerates the available options. Each option\u003Cbr \u002F>\nhas to be separated by a hash mark (#). Each entry for standard HTML\u003Cbr \u002F>\nform entities you can also include a default which tells it which to\u003Cbr \u002F>\nmark as selected or checked. You can also include the tag option which\u003Cbr \u002F>\nwill tell the plugin to add the selection as a post tag automatically.\u003Cbr \u002F>\nTags are explained further down. Checkbox also has unique entries called\u003Cbr \u002F>\ncategory_id and category_name. These are filled based on existing categories\u003Cbr \u002F>\nin your WordPress site. This can be used to auto add\u002Fremove the post to the\u003Cbr \u002F>\nentered category id (and it’s matching name for error checks) when used.\u003C\u002Fp>\n\u003Cp>Ex.\u003C\u002Fp>\n\u003Cp>[Plan]\u003Cbr \u002F>\ntype = textfield\u003Cbr \u002F>\nsubtitle = Enter the generic name of your plan here.\u003C\u002Fp>\n\u003Cp>[Favorite Post]\u003Cbr \u002F>\ntype = checkbox\u003Cbr \u002F>\ncategory_id = 4\u003Cbr \u002F>\ncategory_name = Project Plans\u003C\u002Fp>\n\u003Cp>[Miles Walked]\u003Cbr \u002F>\ntype = radio\u003Cbr \u002F>\nvalue = 0-9#10-19#20+\u003Cbr \u002F>\ndefault = 0-9\u003C\u002Fp>\n\u003Cp>[Temper Level]\u003Cbr \u002F>\ntype = select\u003Cbr \u002F>\nvalue = High#Medium#Low\u003C\u002Fp>\n\u003Cp>[Hidden Thought]\u003Cbr \u002F>\ntype = textarea\u003Cbr \u002F>\nrows = 4\u003Cbr \u002F>\ncols = 40\u003C\u002Fp>\n\u003Cp>[Picture Gallery]\u003Cbr \u002F>\ntype = gallery\u003Cbr \u002F>\ntag = 0\u003C\u002Fp>\n\u003Cp>[The Video]\u003Cbr \u002F>\ntype = video\u003Cbr \u002F>\ntag = 0\u003C\u002Fp>\n\u003Cp>[Attachment]\u003Cbr \u002F>\ntype = download\u003Cbr \u002F>\ntag = 0\u003C\u002Fp>\n\u003Cp>Tags can be very useful. Below is how each special type generates the\u003Cbr \u002F>\ntag for it.\u003C\u002Fp>\n\u003Cp>Tag Design:\u003Cbr \u002F>\n    textfield – Title of the entry when filled\u003Cbr \u002F>\n    textarea  – Title of the entry when filled\u003Cbr \u002F>\n    checkbox  – Title of the entry when checked\u003Cbr \u002F>\n    radio     – The name of the selection\u003Cbr \u002F>\n    select    – The name of the selection\u003Cbr \u002F>\n    gallery   – Not handled\u003Cbr \u002F>\n    video     – Not handled\u003C\u002Fp>\n\u003Ch4>Useage\u003C\u002Fh4>\n\u003Cp>Once you build your conf.txt file, you are ready to start making posts\u003Cbr \u002F>\nusing the custom fields. In order to call these fields you can either\u003Cbr \u002F>\nuse the built in get methods for post meta, or you can use the ones that\u003Cbr \u002F>\nI have added to the metaext class to keep your code clean and know what\u003Cbr \u002F>\nis what. Below is the current list of functions you can use in your theme\u003Cbr \u002F>\nto call the meta information easily.\u003C\u002Fp>\n\u003Cp>Meta Extensions Class:\u003Cbr \u002F>\n    metaext::get_single_metaext($meta_name, $limit)\u003Cbr \u002F>\n        Description: Creates a post object containing all the Posts with the meta_name passed being set in them.\u003Cbr \u002F>\n            $meta_name: the name in brackets for the field you want to pull the list of posts using this field.\u003Cbr \u002F>\n            $limit: how many of these posts to pull. Defaults to 5 if nothing is passed.\u003Cbr \u002F>\n    metaext::get_multi_metaext($meta_names, $limit)\u003Cbr \u002F>\n        Description: Creates a post object containing all the Posts the all the meta_names passed (meta_names is an array).\u003Cbr \u002F>\n            $meta_names: the names in brackets in an array for the fields you want to pull the list of posts using this field.\u003Cbr \u002F>\n            $limit: how many of these posts to pull. Defaults to 5 if nothing is passed.\u003Cbr \u002F>\n    metaext:: get_value_metaext($the_ID, $name)\u003Cbr \u002F>\n        Description: Gets the value for the passed name from the post id passed.\u003Cbr \u002F>\n            $the_ID: the post ID you are wanting to pull the custom field’s value from.\u003Cbr \u002F>\n            $name: The field name of the entry you want to pull the value for. The name is what is in [] and is case sensitive.\u003C\u002Fp>\n\u003Cp>Meta Extensions WordPress Download Manager Class:\u003Cbr \u002F>\n    metaext_wpdm::get_metaext_downloadlink($id)\u003Cbr \u002F>\n        Description: Returns the download link for WPDM ID passed.\u003Cbr \u002F>\n            $id: The download ID (can use metaext::get_value_metaext() to get the ID) you want the link for.\u003Cbr \u002F>\n    metaext_wpdm::show_metaext_downloadlink($id)\u003Cbr \u002F>\n        Description: Echos the download link for WPDM ID passed.\u003Cbr \u002F>\n            $id: The download ID (can use metaext::get_value_metaext() to get the ID) you want the link for.\u003C\u002Fp>\n\u003Cp>Meta Extensions NextGen Gallery Class:\u003Cbr \u002F>\n    metaext_ngg::get_metaext_firstpic($galleryid)\u003Cbr \u002F>\n        Description: Pulls the first image’s src link for the gallery id passed to it.\u003Cbr \u002F>\n            $galleryid: The gallery ID that you want to pull the first pic’s image url for.\u003Cbr \u002F>\n    metaext_ngg::show_metaext_firstpic($galleryid, $class = ”)\u003Cbr \u002F>\n        Description: Echos the first image’s src link for the gallery id passed to it using the optional class name passed.\u003Cbr \u002F>\n            $galleryid: The gallery ID that you want to pull the first pic’s image url for.\u003Cbr \u002F>\n            $class: The name of the class you want to use, optional.\u003Cbr \u002F>\n    metaext_ngg::show_metaext_gallery($galleryid)\u003Cbr \u002F>\n        Description: Echos the Gallery ID passed, the same as using the NGG show gallery shortcode.\u003Cbr \u002F>\n            $galleryid: The gallery ID that you want to show the gallery for.\u003C\u002Fp>\n\u003Cp>Meta Extensions WordTube Class:\u003Cbr \u002F>\n    metaext_wt::get_metaext_wtvideo($videoid)\u003Cbr \u002F>\n        Description: Returns the Video code to show on a page for the video id passed.\u003Cbr \u002F>\n            $videoid: The video id to get the code for.\u003Cbr \u002F>\n    metaext_wt::show_metaext_wtvideo($videoid)\u003Cbr \u002F>\n        Description: Echos the Video code to show on a page for the video id passed.\u003Cbr \u002F>\n            $videoid: The video id to get the code for.\u003C\u002Fp>\n\u003Ch4>Code Examples\u003C\u002Fh4>\n\u003Cpre>\u003Ccode>\u003Cdiv id=\"meta-ext-test\">\n    \u003C?php if ( metaext::get_value_metaext(get_the_ID(), 'the_gallery') ) : ?>\n        \u003Ch2>Test for Galleries using Meta Extensions with NextGen Gallery\u003C\u002Fh2>\n        \u003C?php metaext_ngg::show_metaext_gallery(metaext::get_value_metaext(get_the_ID(), 'the_gallery')) ?>\n    \u003C?php endif; ?>\n    \u003Cbr \u002F>\u003Cbr \u002F>\n    \u003C?php if ( metaext::get_value_metaext(get_the_ID(), 'the_video') ) : ?>\n        \u003Ch2>Test for Videos using Meta Extensions with WordTube\u003C\u002Fh2>\n        \u003C?php metaext_wt::show_metaext_wtvideo(metaext::get_value_metaext(get_the_ID(), 'the_video')) ?>\n    \u003C?php endif; ?>\n    \u003Cbr \u002F>\u003Cbr \u002F>\n    \u003C?php if ( metaext::get_value_metaext(get_the_ID(), 'the_download') ) : ?>\n        \u003Ch2>Test for Downloads using Meta Extensions with WP Download Manager\u003C\u002Fh2>\n        \u003C?php metaext_wpdm::show_metaext_downloadlink(metaext::get_value_metaext(get_the_ID(), 'the_download')) ?>\n    \u003C?php endif; ?>\n\u003C\u002Fdiv>\n\u003C\u002Fcode>\u003C\u002Fpre>\n","Allows adding custom form fields to posts, storing them in custom meta fields. Integrates NGG, WT, and WP-DM.",3493,0,"2010-07-11T14:05:00.000Z","3.0.5","2.0.2","",[26,27,28,29,30],"custom-fields","fields","meta","meta-fields","posts","http:\u002F\u002Fwww.premiumdigitalservices.net","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fmeta-extensions.zip",null,"2026-03-15T15:16:48.613Z"]