{"id":6,"date":"2019-01-21T21:11:26","date_gmt":"2019-01-21T21:11:26","guid":{"rendered":"https:\/\/damionwagner.com\/?p=6"},"modified":"2023-11-10T21:22:55","modified_gmt":"2023-11-10T21:22:55","slug":"wordpress-essentials","status":"publish","type":"post","link":"https:\/\/damionwagner.com\/wordpress-essentials\/","title":{"rendered":"WordPress Essentials"},"content":{"rendered":"<h2>Reset Admin Password Through FTP<\/h2>\n<p>1. Log in to your site through FTP and open functions.php.<br \/>\n2. Add this code at the beginning, after the first &lt;?php:<\/p>\n<h3>wp_set_password( &#8216;password&#8217;, 1 );<\/h3>\n<p>3. Enter a new password for the main admin user. &#8220;1&#8221; is the user ID number.<br \/>\n4.Remove this code or it will reset your password every time you try to log in.<\/p>\n<h2>Basic WordPress .htaccess<\/h2>\n<p># BEGIN WordPress<br \/>\n&lt;IfModule mod_rewrite.c&gt;<br \/>\nRewriteEngine On<br \/>\nRewriteBase \/<br \/>\nRewriteRule ^index\\.php$ &#8211; [L]<br \/>\nRewriteCond %{REQUEST_FILENAME} !-f<br \/>\nRewriteCond %{REQUEST_FILENAME} !-d<br \/>\nRewriteRule . \/index.php [L]<br \/>\n&lt;\/IfModule&gt;<br \/>\n# END WordPress<\/p>\n<h2>Robot.txt For WordPress<\/h2>\n<p>User-agent: *<br \/>\nDisallow: \/cgi-bin\/<br \/>\nDisallow: \/wp-admin\/<br \/>\nDisallow: \/wp-includes\/<br \/>\nDisallow: \/wp-content\/plugins\/<br \/>\nDisallow: \/wp-content\/cache\/<br \/>\nDisallow: \/wp-content\/themes\/<br \/>\nDisallow: \/wp-login.php<br \/>\nDisallow: \/wp-register.php<\/p>\n<h2>Child Theme<\/h2>\n<p>Not quite shortcode but, do yourself right when working with WordPress and make a<br \/>\n<strong>child theme<\/strong> before you do anything to modify your WordPress CSS. This will keep your custom CSS in a separate folder that will not be affected when you update the theme. For this illustration we will reference the Twenty Eleven theme.<\/p>\n<ol>\n<li>Go into your installed WordPress and make a folder in \/wp-content\/themes\/ and name it something that relates to your theme, maybe &#8220;childof2011theme&#8221; if you are using the Twenty Eleven Theme that comes with WordPress.<\/li>\n<li>Create a new text file and name it style.css, then copy and paste the following: \/* Theme Name: Twenty Eleven Child Theme URI: http:\/\/your_url.com\/ Description: Child theme for the Twenty Eleven theme Author: Your Name Author URI: http:\/\/your_url.com\/ Template: twentyeleven Version: 0.1.0 *\/ @import url(&#8220;..\/twentyeleven\/style.css&#8221;);<\/li>\n<li>The last line, @import url(&#8220;..\/your _theme\/style.css&#8221;); is the most important part of making a child theme. Change &#8220;your _theme&#8221; to match the name of the theme that you are making a child.<\/li>\n<li>Log into your WordPress Dashboard and go to Appearance \u2192 Themes<\/li>\n<li>Activate your child theme, in this case named &#8220;Twenty Eleven Child&#8221;<\/li>\n<\/ol>\n<h2>Gallery Size And Order Shortcode<\/h2>\n<p>If you need your WordPress gallery to display images full size use this shortcode. Change the xxx to the your desired image Attachment ID which can be found in the Media Library for each image. This works well if you have animated and \/ or transparent GIFs because as of WordPress 3.5 thumbnails of GIFs do not retain transparency nor will they animate.<\/p>\n<p>\/* BEWARE *\/<br \/>\n&#91;gallery size=&#8221;full&#8221; ids=&#8221;xxx,xxx,xxx&#8221;]<\/p>\n<p>&#91;gallery orderby=&#8221;title&#8221; order=&#8221;ASC&#8221; ids=&#8221;xxx,xxx,xxx&#8221;]<\/p>\n<p>&#91;gallery orderby=&#8221;title&#8221; order=&#8221;DESC&#8221; ids=&#8221;xxx,xxx,xxx&#8221;]<\/p>\n<p>&#91;gallery orderby=&#8221;ID&#8221;]<\/p>\n<p>&#91;gallery columns=&#8221;3&#8243;]<\/p>\n<p>&#91;gallery size=&#8221;medium&#8221;]<\/p>\n<p>Valid values include &#8220;thumbnail&#8221;, &#8220;medium&#8221;, &#8220;large&#8221;, &#8220;full&#8221;<\/p>\n<h2>Turn Off WordPress\u00a0Home Page Title<\/h2>\n<p>.home .entry-title { display: none; }<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Reset Admin Password Through FTP 1. Log in to your site through FTP and open functions.php. 2. Add this code at the beginning, after the first &lt;?php: wp_set_password( &#8216;password&#8217;, 1 ); 3. Enter a new password for the main admin user. &#8220;1&#8221;&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_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":""},"categories":[45,48],"tags":[],"class_list":["post-6","post","type-post","status-publish","format-standard","hentry","category-how-to","category-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Wordpress Essentials - Damion Wagner Graphic Design<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/damionwagner.com\/wordpress-essentials\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Wordpress Essentials - Damion Wagner Graphic Design\" \/>\n<meta property=\"og:description\" content=\"Reset Admin Password Through FTP 1. Log in to your site through FTP and open functions.php. 2. Add this code at the beginning, after the first &lt;?php: wp_set_password( &#8216;password&#8217;, 1 ); 3. Enter a new password for the main admin user. &#8220;1&#8221;&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/damionwagner.com\/wordpress-essentials\/\" \/>\n<meta property=\"og:site_name\" content=\"Damion Wagner Graphic Design\" \/>\n<meta property=\"article:published_time\" content=\"2019-01-21T21:11:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-10T21:22:55+00:00\" \/>\n<meta name=\"author\" content=\"Damion Wagner\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Damion Wagner\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/damionwagner.com\\\/wordpress-essentials\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/damionwagner.com\\\/wordpress-essentials\\\/\"},\"author\":{\"name\":\"Damion Wagner\",\"@id\":\"https:\\\/\\\/damionwagner.com\\\/#\\\/schema\\\/person\\\/958bcd390df878f1b4a6b6fc9859fa77\"},\"headline\":\"WordPress Essentials\",\"datePublished\":\"2019-01-21T21:11:26+00:00\",\"dateModified\":\"2023-11-10T21:22:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/damionwagner.com\\\/wordpress-essentials\\\/\"},\"wordCount\":443,\"publisher\":{\"@id\":\"https:\\\/\\\/damionwagner.com\\\/#organization\"},\"articleSection\":[\"How-To\",\"Wordpress\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/damionwagner.com\\\/wordpress-essentials\\\/\",\"url\":\"https:\\\/\\\/damionwagner.com\\\/wordpress-essentials\\\/\",\"name\":\"Wordpress Essentials - Damion Wagner Graphic Design\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/damionwagner.com\\\/#website\"},\"datePublished\":\"2019-01-21T21:11:26+00:00\",\"dateModified\":\"2023-11-10T21:22:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/damionwagner.com\\\/wordpress-essentials\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/damionwagner.com\\\/wordpress-essentials\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/damionwagner.com\\\/wordpress-essentials\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/damionwagner.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WordPress Essentials\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/damionwagner.com\\\/#website\",\"url\":\"https:\\\/\\\/damionwagner.com\\\/\",\"name\":\"Damion Wagner Graphic Design\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/damionwagner.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/damionwagner.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/damionwagner.com\\\/#organization\",\"name\":\"Damion Wagner Audio and Visual Design\",\"url\":\"https:\\\/\\\/damionwagner.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/damionwagner.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/design.damionwagner.com\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/logo-damion-wagner-graphic-design.png?fit=1500%2C313&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/design.damionwagner.com\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/logo-damion-wagner-graphic-design.png?fit=1500%2C313&ssl=1\",\"width\":1500,\"height\":313,\"caption\":\"Damion Wagner Audio and Visual Design\"},\"image\":{\"@id\":\"https:\\\/\\\/damionwagner.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.instagram.com\\\/damionwagner\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/damionwagner.com\\\/#\\\/schema\\\/person\\\/958bcd390df878f1b4a6b6fc9859fa77\",\"name\":\"Damion Wagner\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c4bed6274acc98e68c46c3aca5b204f1f913ee254a5f5444ca8be1943a56b3c4?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c4bed6274acc98e68c46c3aca5b204f1f913ee254a5f5444ca8be1943a56b3c4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c4bed6274acc98e68c46c3aca5b204f1f913ee254a5f5444ca8be1943a56b3c4?s=96&d=mm&r=g\",\"caption\":\"Damion Wagner\"},\"url\":\"https:\\\/\\\/damionwagner.com\\\/author\\\/damiondesign\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Wordpress Essentials - Damion Wagner Graphic Design","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/damionwagner.com\/wordpress-essentials\/","og_locale":"en_US","og_type":"article","og_title":"Wordpress Essentials - Damion Wagner Graphic Design","og_description":"Reset Admin Password Through FTP 1. Log in to your site through FTP and open functions.php. 2. Add this code at the beginning, after the first &lt;?php: wp_set_password( &#8216;password&#8217;, 1 ); 3. Enter a new password for the main admin user. &#8220;1&#8221;&hellip;","og_url":"https:\/\/damionwagner.com\/wordpress-essentials\/","og_site_name":"Damion Wagner Graphic Design","article_published_time":"2019-01-21T21:11:26+00:00","article_modified_time":"2023-11-10T21:22:55+00:00","author":"Damion Wagner","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Damion Wagner","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/damionwagner.com\/wordpress-essentials\/#article","isPartOf":{"@id":"https:\/\/damionwagner.com\/wordpress-essentials\/"},"author":{"name":"Damion Wagner","@id":"https:\/\/damionwagner.com\/#\/schema\/person\/958bcd390df878f1b4a6b6fc9859fa77"},"headline":"WordPress Essentials","datePublished":"2019-01-21T21:11:26+00:00","dateModified":"2023-11-10T21:22:55+00:00","mainEntityOfPage":{"@id":"https:\/\/damionwagner.com\/wordpress-essentials\/"},"wordCount":443,"publisher":{"@id":"https:\/\/damionwagner.com\/#organization"},"articleSection":["How-To","Wordpress"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/damionwagner.com\/wordpress-essentials\/","url":"https:\/\/damionwagner.com\/wordpress-essentials\/","name":"Wordpress Essentials - Damion Wagner Graphic Design","isPartOf":{"@id":"https:\/\/damionwagner.com\/#website"},"datePublished":"2019-01-21T21:11:26+00:00","dateModified":"2023-11-10T21:22:55+00:00","breadcrumb":{"@id":"https:\/\/damionwagner.com\/wordpress-essentials\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/damionwagner.com\/wordpress-essentials\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/damionwagner.com\/wordpress-essentials\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/damionwagner.com\/"},{"@type":"ListItem","position":2,"name":"WordPress Essentials"}]},{"@type":"WebSite","@id":"https:\/\/damionwagner.com\/#website","url":"https:\/\/damionwagner.com\/","name":"Damion Wagner Graphic Design","description":"","publisher":{"@id":"https:\/\/damionwagner.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/damionwagner.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/damionwagner.com\/#organization","name":"Damion Wagner Audio and Visual Design","url":"https:\/\/damionwagner.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/damionwagner.com\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/design.damionwagner.com\/wp-content\/uploads\/2018\/01\/logo-damion-wagner-graphic-design.png?fit=1500%2C313&ssl=1","contentUrl":"https:\/\/i0.wp.com\/design.damionwagner.com\/wp-content\/uploads\/2018\/01\/logo-damion-wagner-graphic-design.png?fit=1500%2C313&ssl=1","width":1500,"height":313,"caption":"Damion Wagner Audio and Visual Design"},"image":{"@id":"https:\/\/damionwagner.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.instagram.com\/damionwagner"]},{"@type":"Person","@id":"https:\/\/damionwagner.com\/#\/schema\/person\/958bcd390df878f1b4a6b6fc9859fa77","name":"Damion Wagner","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/c4bed6274acc98e68c46c3aca5b204f1f913ee254a5f5444ca8be1943a56b3c4?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c4bed6274acc98e68c46c3aca5b204f1f913ee254a5f5444ca8be1943a56b3c4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c4bed6274acc98e68c46c3aca5b204f1f913ee254a5f5444ca8be1943a56b3c4?s=96&d=mm&r=g","caption":"Damion Wagner"},"url":"https:\/\/damionwagner.com\/author\/damiondesign\/"}]}},"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9Ac1F-6","jetpack_likes_enabled":true,"jetpack-related-posts":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/damionwagner.com\/wp-json\/wp\/v2\/posts\/6","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/damionwagner.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/damionwagner.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/damionwagner.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/damionwagner.com\/wp-json\/wp\/v2\/comments?post=6"}],"version-history":[{"count":0,"href":"https:\/\/damionwagner.com\/wp-json\/wp\/v2\/posts\/6\/revisions"}],"wp:attachment":[{"href":"https:\/\/damionwagner.com\/wp-json\/wp\/v2\/media?parent=6"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/damionwagner.com\/wp-json\/wp\/v2\/categories?post=6"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/damionwagner.com\/wp-json\/wp\/v2\/tags?post=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}