{"id":175,"date":"2005-08-17T21:49:28","date_gmt":"2005-08-18T04:49:28","guid":{"rendered":"http:\/\/www.wiredatom.com\/blog\/?p=175"},"modified":"2005-08-18T01:38:25","modified_gmt":"2005-08-18T08:38:25","slug":"more-wordpress-hacks-post-new-meta","status":"publish","type":"post","link":"https:\/\/www.wiredatom.com\/blog\/2005\/08\/17\/more-wordpress-hacks-post-new-meta\/","title":{"rendered":"WordPress Post Made Easy"},"content":{"rendered":"<p>I finally got around to do this hack. In order for me to post a new entry, I have to login, go to &#8220;Site Admin&#8221; panel and then click on &#8220;Write&#8221; to post. I have hacked the site to have a &#8220;Post New&#8221; link under &#8220;Meta&#8221; when I am logged in.<\/p>\n<blockquote><p>1. Open and edit &#8220;\/wp-includes\/template-functions-general.php&#8221;<br \/>\n2. On line 50, I added<\/p>\n<div class=\"codecolorer-container text railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/><\/div><\/td><td><div class=\"text codecolorer\">&nbsp;. <br \/>\n&nbsp; &nbsp; $link = $before . 'a href=&quot;' . get_settings('siteurl') . '\/wp-admin\/post.php&quot;&gt;' . __('Post New') . '' . $after;<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p><strong>NOTE:<\/strong> Don&#8217;t forget to add the < sign before \"a href\". I had to take it out becuase WordPress thinks that line of code is an active http link. Also, the dot on the first line should not be omitted.\n<\/p><\/blockquote>\n<p>Now I can post new entries with just one click.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>I finally got around to do this hack. In order for me to post a new entry, I have to login, go to &#8220;Site Admin&#8221; panel and then click on &#8220;Write&#8221; to post. I have hacked the site to have a &#8220;Post New&#8221; link under &#8220;Meta&#8221; when I am logged in. 1. Open and edit &hellip; <a href=\"https:\/\/www.wiredatom.com\/blog\/2005\/08\/17\/more-wordpress-hacks-post-new-meta\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;WordPress Post Made Easy&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[2,10,4],"tags":[],"class_list":["post-175","post","type-post","status-publish","format-standard","hentry","category-blogging","category-geek-stuff","category-tips-tricks"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p54IqZ-2P","_links":{"self":[{"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/posts\/175","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/comments?post=175"}],"version-history":[{"count":0,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/posts\/175\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/media?parent=175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/categories?post=175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/tags?post=175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}