[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fRcNgkXl_WC783NlJj3CTYXUPBEvBx1I8FORvS-4VUME":3},{"slug":4,"display_name":5,"profile_url":6,"plugin_count":7,"total_installs":8,"avg_security_score":9,"avg_patch_time_days":10,"trust_score":11,"computed_at":12,"plugins":13},"tsjuder","Raymond","https:\u002F\u002Fprofiles.wordpress.org\u002Ftsjuder\u002F",1,10,85,30,84,"2026-05-20T08:03:27.908Z",[14],{"slug":15,"name":16,"version":17,"author":5,"author_profile":6,"description":18,"short_description":19,"active_installs":8,"downloaded":20,"rating":21,"num_ratings":21,"last_updated":22,"tested_up_to":23,"requires_at_least":24,"requires_php":24,"tags":25,"homepage":31,"download_link":32,"security_score":9,"vuln_count":21,"unpatched_count":21,"last_vuln_date":33,"fetched_at":34},"tea-page-content","Tea Page Content","1.3.1","\u003Cp>Tea Page Content is a powerful plugin that allows create widget or shortcode with content of any page, post, etc, and customize look of blocks via template system. You can select one or more entries, choose template (or create your own) and display it by widget or shortcode. Templates presents very flexible system for appearance control.\u003C\u002Fp>\n\u003Ch4>Key features\u003C\u002Fh4>\n\u003Cul>\n\u003Cli>Very flexible template system\u003C\u002Fli>\n\u003Cli>Native support of all post types\u003C\u002Fli>\n\u003Cli>Possibility to create your own templates\u003C\u002Fli>\n\u003Cli>Developer and user friendly\u003C\u002Fli>\n\u003Cli>Easy to use and beautiful UI\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>If you found a bug or have a suggestion, please create topic on forum or send me email (raymondcostner at gmail.com).\u003C\u002Fp>\n\u003Ch4>Documentation\u003C\u002Fh4>\n\u003Cp>You can find primary description at \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Ftea-page-content\u002Fother_notes\u002F\" rel=\"ugc\">Other Notes\u003C\u002Fa> tab, and details at \u003Ca href=\"http:\u002F\u002Ftsjuder.github.io\u002Ftea-page-content\u002F\" rel=\"nofollow ugc\">Github Page\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch3>Documentation\u003C\u002Fh3>\n\u003Ch4>Shortcodes\u003C\u002Fh4>\n\u003Cp>There is just one shortcode \u003Ccode>tea_page_content\u003C\u002Fcode>. Below there is an example with basic parameters.\u003Cbr \u002F>\n    [tea_page_content template=”default” order=”asc” posts=”12,45,23″]\u003Cbr \u002F>\nYou also can used template variables (see Templates section at documentation) and options.\u003C\u002Fp>\n\u003Ch4>Parameters\u003C\u002Fh4>\n\u003Cp>There is some built-in options. Let’s take a closer look:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>order\u003C\u002Fstrong> allows you set entries order. All posts and pages will be sorted by date, and you can choose a direction – by ascending or by descending. Sorting by descending is a default behaviour.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>template\u003C\u002Fstrong> allows you choose layout which will look as you want. In shortcode just type full name of your template without extension, for example \u003Ccode>default\u003C\u002Fcode> or \u003Ccode>your-template-name\u003C\u002Fcode>.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>show_page_thumbnail\u003C\u002Fstrong> allows you enable or disable displaying thumbnail of entry. If you don’t want see page thumbnail, type \u003Ccode>show_page_thumbnail=\"false\"\u003C\u002Fcode>. Default – \u003Cem>true\u003C\u002Fem>.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>show_page_content\u003C\u002Fstrong> allows you enable or disable displaying content of entry. Default – \u003Cem>true\u003C\u002Fem>.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>show_page_title\u003C\u002Fstrong> allows you enable or disable displaying title of entry. Default – \u003Cem>true\u003C\u002Fem>.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>linked_page_title\u003C\u002Fstrong> allows you enable or disable linking title of entry. In other words, title will be link to full article. Default – \u003Cem>false\u003C\u002Fem>.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>linked_page_thumbnail\u003C\u002Fstrong> allows you enable or disable linking thumbnail of entry. In other words, thumbnail will be link to full article. Default – \u003Cem>false\u003C\u002Fem>.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch4>Creating simplest custom template\u003C\u002Fh4>\n\u003Cp>By default plugin will be search custom templates in a folder named \u003Ccode>templates\u003C\u002Fcode> in your theme. For create the one just add into this directory a new file with name like \u003Ccode>tpc-{template-name}.php\u003C\u002Fcode>. Every template \u003Cstrong>should\u003C\u002Fstrong> be named by that mask! Then put in created file your code. For example:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003C?php foreach ($entries as $entry) : ?>\n    \u003Cdiv class=\"entry\">\n        \u003Ch3>\n            \u003C?php echo $entry['title'] ?>\n        \u003C\u002Fh3>\n\n        \u003Cdiv class=\"post-content\">\n            \u003C?php echo $entry['content'] ?>\n        \u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n\u003C?php endforeach; ?>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>For using your templates in shortcode, you need just choose it in widget or pass full filename (but without extension) in shortcode. For example:\u003Cbr \u002F>\n    template=”tpc-my-template”\u003C\u002Fp>\n\u003Ch4>Parameters in template\u003C\u002Fh4>\n\u003Cp>Above you can see very simple example of custom template with \u003Ccode>title\u003C\u002Fcode> and \u003Ccode>content\u003C\u002Fcode> parameters. But this is not all – there is a full list of allowed parameters which you can use.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>$count\u003C\u002Fstrong> – Count of all passed entries\u003C\u002Fli>\n\u003Cli>\u003Cstrong>$instance\u003C\u002Fstrong> – Array with user defined and default parameters. There is all list of options from self-titled section above.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>$template_variables\u003C\u002Fstrong> – Array with template-level variables.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>$caller\u003C\u002Fstrong> – Special flag that determine a module that called template: from widget or from shortcode. Can be \u003Ccode>widget\u003C\u002Fcode> or \u003Ccode>shortcode\u003C\u002Fcode>.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>$entries\u003C\u002Fstrong> – List of posts, pages, etc.\n\u003Cul>\n\u003Cli>\u003Cstrong>title\u003C\u002Fstrong> – Title of current entry\u003C\u002Fli>\n\u003Cli>\u003Cstrong>content\u003C\u002Fstrong> – Content of current entry. When page have more tag, will be used \u003Ccode>the_content\u003C\u002Fcode> function, in other cases will be used \u003Ccode>the_excerpt\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>\u003Cstrong>thumbnail\u003C\u002Fstrong> – Thumbnail of entry (if exists)\u003C\u002Fli>\n\u003Cli>\u003Cstrong>link\u003C\u002Fstrong> – Link of entry\u003C\u002Fli>\n\u003Cli>\u003Cstrong>id\u003C\u002Fstrong> – Entry ID\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch4>Details & Filters\u003C\u002Fh4>\n\u003Cp>Because full manual is too long, you can see it at \u003Ca href=\"http:\u002F\u002Ftsjuder.github.io\u002Ftea-page-content\u002F\" rel=\"nofollow ugc\">Github Page\u003C\u002Fa>. Get details and updating information about new features includes filters, template-level variables and more.\u003C\u002Fp>\n","Plugin that allows create widget or shortcode with content of any post, and customize look of blocks via templates.",1956,0,"2017-11-17T20:48:00.000Z","4.9.29","",[26,27,28,29,30],"pages","post","posts","shortcode","widget","http:\u002F\u002Ftsjuder.github.io\u002Ftea-page-content","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Ftea-page-content.1.3.1.zip",null,"2026-04-16T10:56:18.058Z"]