{"id":12550,"date":"2011-03-17T19:46:28","date_gmt":"2011-03-17T19:46:28","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/auto-post-title\/"},"modified":"2011-05-12T19:58:22","modified_gmt":"2011-05-12T19:58:22","slug":"auto-post-title","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/auto-post-title\/","author":7666389,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2.2","stable_tag":"trunk","tested":"3.1.4","requires":"2.0.2","requires_php":"","requires_plugins":"","header_name":"Auto Post Title","header_author":"ThoughtLab","header_description":"","assets_banners_color":"","last_updated":"2011-05-12 19:58:22","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.thoughtlab.com\/blog\/index.php\/auto-post-title\/","header_author_uri":"http:\/\/www.thoughtlab.com\/blog\/index.php\/category\/wordpress\/","rating":2.3,"author_block_rating":0,"active_installs":50,"downloads":6766,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":0,"3":"2","4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1573780","resolution":"1","location":"plugin"}},"screenshots":{"1":"This is the optios page as you will see it if you have no custom post types registered."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[754,1794,683,1457,1460],"plugin_category":[],"plugin_contributors":[86132,86131],"plugin_business_model":[],"class_list":["post-12550","plugin","type-plugin","status-closed","hentry","plugin_tags-auto","plugin_tags-custom-post-type","plugin_tags-meta","plugin_tags-post-title","plugin_tags-title","plugin_contributors-lellimecnar","plugin_contributors-thoughtlabllc","plugin_committers-thoughtlabllc"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/auto-post-title.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/auto-post-title\/trunk\/screenshot-1.png?rev=1573780","caption":"This is the optios page as you will see it if you have no custom post types registered."}],"raw_content":"<!--section=description-->\n<p>There are times when you want to automatically include information into the title of a post, page, or custom post type. This plugin adds an item to the Admin Settings menu called \"Title Format.\" Clicking on this link will give you an options page where you will find a text field for each post type that you have registered in WordPress, including Post and Page. In these text fields, you are able to use shortcodes to build a title format that will be used to generate the title of all posts of that type. For example, say I had a blog with several authors, and I wanted to include the author's name into the title of every post. I could use something like:\n    [title] - by [author]\nSo, if I had a post by John Smith, with a title of \"An Excellent Post,\" the title would be displayed as: \"An Excellent Post - by John Smith\"<\/p>\n\n<blockquote>\n  <p>Here are the tags that are available:<\/p>\n  \n  <ul>\n  <li>id<\/li>\n  <li>title<\/li>\n  <li>author<\/li>\n  <li>date (<em>use the attribute: format=\"\" to format date. <a href=\"http:\/\/php.net\/manual\/en\/function.date.php\">Click here<\/a> for formatting info.<\/em>)<\/li>\n  <li>modified (<em>also takes the format=\"\" attribute.<\/em>)<\/li>\n  <li>category<\/li>\n  <li>content<\/li>\n  <li>excerpt<\/li>\n  <li>status (<em>published, draft, etc.<\/em>)<\/li>\n  <li>type (<em>the post type<\/em>)<\/li>\n  <li>name (<em>the post slug<\/em>)<\/li>\n  <li>comments (<em>show number of comments<\/em>)<\/li>\n  <\/ul>\n<\/blockquote>\n\n\n\n<h3>Another example:<\/h3>\n\n<p>I might have a website which uses custom post types to catalog my inventory of cars for sale. My 'cars' post type will be displayed in the Auto Post Title options page as 'Cars Title.'\nAssuming that I have already set up my cars with a year, make, and model as meta data, I would then enter something like this:\n    [year] [make] [model] For Sale!\nEach of my cars will then be shown with a title similar to: \"2011 Chevy Camaro For Sale!\"<\/p>\n\n\n\n<p>You can also use custom taxonomies as tags. Only the first term will be used.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>auto-post-title.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Navigate to \"Title Format\" under the admin settings menu.<\/li>\n<li>Type your formatting rules into the appropriate text fields.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.1<\/h4>\n\n<ul>\n<li>Fixed problem with navigation menu showing the formatted title on single posts or pages.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Added support for post category, and custom taxonomies.<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Fixed custom titles not showing in title tags.<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Fixed a bug with 1.2<\/li>\n<\/ul>","raw_excerpt":"Use shortcodes to automatically generate and format titles.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/12550","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=12550"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/thoughtlabllc"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=12550"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=12550"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=12550"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=12550"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=12550"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=12550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}