Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*******************************************************************************************/
- /* Rent a SERP Theme and Plugin Fixes.
- /*******************************************************************************************/
- GOOGLE WEBSPAM PROOFING
- Fixes Required = Customise Theme so it's harder for Google to track and penalise Rent-a-SERP users. Not that they are doing that... but if too many SEO's make money renting websites then they will crack down on it. I'd prefer to be safe rather than sorry.
- Appearance -> Editor -> "Stylesheet" style.css
- Change default comments to your own -
- Line 2: Theme Name: Rent-A-Serp Theme
- CHANGE: Theme Name: Your Custom Theme name
- Line 5: Theme URI: http://www.rentaserp.com.com/
- CHANGE: Theme URI: http://www.yourdomain.com/
- Why the hell is line 5 .com.com anyway?
- Line 7: Author: Mario Cimmino
- CHANGE: Author: Your Name
- Line 9: Author URI: http://www.rentaserp.com.com/
- CHANGE: Author URI: http://www.yourdomain.com
- Again with the .com.com
- Line 11: Description: Rent-A-SERP Theme was built to rank easily, and rent each page or entire site for passive income.
- CHANGE: Description: Your custom description
- Line 19: Tags: black, green, white, light, dark, two-columns, three-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
- CHANGE: Tags: Your,Custom,Tags,aren't,really,needed,anyway,so,you,can,just,add,a,custom,1,word,tag,or,delete,line.
- /*******************************************************************************************/
- PIECE OF SHIT THANK YOU PAGE:
- Fixes Required = Fix Link to Homepage, Css styling and HTML inclusion.
- Appearence -> Editor -> "Thank You Page" thankyou.php
- Line 13:
- <a href="<?php home_url(); ?>"> Back to Home </a>
- CHANGE TO:
- <a href="<?php echo home_url(): ?>"> Back to Home </a>
- Appearance -> Editor -> "Thank You Page" thankyou.php
- AFTER Line 9: <?php if (have_posts()) : the_post(); ?>
- ADD (Line 10):
- <div class="wrap">
- <div class="header_section">
- <div class="logo_section">
- <a href="http://www.example.com">
- <img alt="Cleaning Logo" src="http://www.example.com/wp-content/uploads/2014/07/cleaning-logo.png">
- </a>
- </div>
- <div class="header_right">
- <div class="social_media">
- <div class="clear"></div>
- <span>CALL US NOW</span>
- <div class="clear"></div>
- <small>0404 660 240</small>
- </div>
- <div class="clear"></div>
- </div>
- <div class="banner_area">
- <div class="banner_top_bg"></div>
- <div class="clear"></div>
- <br /><br /><br />
- BEFORE Last Line: <?php get_footer();?>
- ADD: </div>
- -Increase size of Text it's too small
- Appearance -> Editor -> "Stylesheet" style.css
- (Bottom of the file)
- ADD: .customize-support { font-size: 1.2em; }
- TODO : MAKE LINK EVEN BETTER :
- Link needs to default back to refer page not homepage.
- /*******************************************************************************************/
- FUGLY CONTACT SUBMISSION FORM ON SILO PAGES + TYPO ON HOMEPAGE
- Fixes Required = Typos - Remove star below "Edit" label on index.php and page.php
- Styling Error - Fix Form Title on Page.php
- Appearence -> Editor -> "Main Index Template" Index.php
- Remove the STAR after -> class="error">
- Line 202:
- <span class="error">* <?php ...
- CHANGE:
- <span class="error"> <?php ...
- REPEAT STEPS ABOVE ON PAGE.PHP (line 263 or so) IF USING SILO'S AND ADDITIONALLY FOLLOW THE BELOW STEPS
- Appearance -> Editor -> "Page Template" page.php
- Change the Form header font size to normal
- Line 227: <p class="head">.....</p>
- CHANGE: <h2>.....</h2>
- This shouldn't be a h2 to begin with, but the genius developer made it that way and this is the easiest fix.
- We could have changed both files to <p class="form-header"> and added css styles which probably would have been better.
- As it stands we now have a heading tag that reads "FREE ESTIMATE" which is rediculous.
- TODO: FIX CONTACT FORM HEADER
- /*******************************************************************************************/
- SCREENSHOT IMAGE SIZE: (Displays as the Theme logo on the Themes admin page)
- Fixes Required = Make image WordPress recommended size for Retina Displays, and cutdown on theme bloat. Currently around 3000 px - Should be 880x660 (retina) 440x330 (pc-1980x1020)
- Open screenshot.png in an image editor (MS Paint works fine)
- Select "resize" and make the width 880 keeping image proportions locked.
- Ideally the image screenshot should be 880x660 pixels, but wordpress simply fills rest of image with whitespace if it isn't.
- If you want to be semantically correct you can create a new image at 880x660 and copy paste the (resized) rent-a-serp logo. Then save as "screenshot.png" in the top level theme directory.
- If you want to keep the image as light as possible then open the image in Photoshop cut out the whitespace below and above the image so the image is around 880x350 or so. When saving, reduce the png option to 2 color @ 8bits. This will produce the smallest possible file size while still looking good. Just make sure to hit "Preview" button and check for pixelation before saving. IF there is pixelation issues simply increase the number of colors one step at a time until pixelation stops.
- /*******************************************************************************************/
- FIX SOCIAL NIGHTMARES: (why the hell would we want to pass good PR to social networks?)
- Fixes Required: Add rel="nofollow" to social icons.
- Add Alt attribute to images.
- Appearence -> Editor -> "Main Index Template" Index.php
- Line 31:
- <a href="<?php echo blackbird_get_option('blackbird_facebook');?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/img/social_icon1.png" alt="" /></a>
- CHANGE:
- <a href="<?php echo blackbird_get_option('blackbird_facebook');?>" target="_blank" rel="nofollow"><img src="<?php echo get_template_directory_uri(); ?>/img/social_icon1.png" alt="Our Facebook Page" /></a>
- Line 37:
- <a href="<?php echo blackbird_get_option('blackbird_googleplus'); ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/img/social_icon2.png" alt="" /></a>
- CHANGE:
- <a href="<?php echo blackbird_get_option('blackbird_googleplus'); ?>" target="_blank" rel="nofollow"><img src="<?php echo get_template_directory_uri(); ?>/img/social_icon2.png" alt="Our Google Plus Page" /></a>
- Line 43:
- <a href="<?php echo blackbird_get_option('blackbird_linkedin'); ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/img/social_icon3.png" alt="" /></a>
- CHANGE:
- <a href="<?php echo blackbird_get_option('blackbird_linkedin'); ?>" target="_blank" rel="nofollow"><img src="<?php echo get_template_directory_uri(); ?>/img/social_icon3.png" alt="Our Linkedin Profile" /></a>
- Line 49:
- <a href="<?php echo blackbird_get_option('blackbird_twitter'); ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/img/social_icon4.png" alt="" /></a>
- CHANGE:
- <a href="<?php echo blackbird_get_option('blackbird_twitter'); ?>" target="_blank" rel="nofollow"><img src="<?php echo get_template_directory_uri(); ?>/img/social_icon4.png" alt="Our Twitter Feed" /></a>
- Line 55:
- <a href="<?php echo blackbird_get_option('blackbird_youtube'); ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/img/social_icon5.png" alt="" /></a>
- CHANGE:
- <a href="<?php echo blackbird_get_option('blackbird_youtube'); ?>" target="_blank" rel="nofollow"><img src="<?php echo get_template_directory_uri(); ?>/img/social_icon5.png" alt="Our Youtube Channel" /></a>
- Line 61:
- <a href="<?php echo blackbird_get_option('blackbird_rss'); ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/img/social_icon6.png" alt="" /></a>
- CHANGE:
- <a href="<?php echo blackbird_get_option('blackbird_rss'); ?>" target="_blank" rel="nofollow"><img src="<?php echo get_template_directory_uri(); ?>/img/social_icon6.png" alt="Our RSS Feed" /></a>
- Line 67:
- <a href="<?php echo blackbird_get_option('blackbird_digg'); ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/img/digg.png" alt="" /></a>
- CHANGE:
- <a href="<?php echo blackbird_get_option('blackbird_digg'); ?>" target="_blank" rel="nofollow"><img src="<?php echo get_template_directory_uri(); ?>/img/digg.png" alt="Our Digg Page" /></a>
- Line 73:
- <a href="<?php echo blackbird_get_option('blackbird_blogger'); ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/img/blogger.png" alt="" /></a>
- CHANGE:
- <a href="<?php echo blackbird_get_option('blackbird_blogger'); ?>" target="_blank" rel="nofollow"><img src="<?php echo get_template_directory_uri(); ?>/img/blogger.png" alt="Our Blogger Site" /></a>
- Line 79:
- <a href="<?php echo blackbird_get_option('blackbird_mySpace'); ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/img/myspace-logo.gif" alt="" /></a>
- CHANGE:
- <a href="<?php echo blackbird_get_option('blackbird_mySpace'); ?>" target="_blank" rel="nofollow"><img src="<?php echo get_template_directory_uri(); ?>/img/myspace-logo.gif" alt="Our Myspace Page" /></a>
- Line 85:
- <a href="<?php echo blackbird_get_option('blackbird_tumbler'); ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/img/tumbler.png" alt="" /></a>
- CHANGE:
- <a href="<?php echo blackbird_get_option('blackbird_tumbler'); ?>" target="_blank" rel="nofollow"><img src="<?php echo get_template_directory_uri(); ?>/img/tumbler.png" alt="Our Tumbler Blog" /></a>
- Line 91:
- <a href="<?php echo blackbird_get_option('blackbird_pinterest'); ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/img/pinterest.gif" alt="" /></a>
- CHANGE:
- <a href="<?php echo blackbird_get_option('blackbird_pinterest'); ?>" target="_blank" rel="nofollow"><img src="<?php echo get_template_directory_uri(); ?>/img/pinterest.gif" alt="Our Pinterest Walls" /></a>
- Line 97:
- <a href="<?php echo blackbird_get_option('blackbird_flicker'); ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/img/flicker1.png" alt="" /></a>
- CHANGE:
- <a href="<?php echo blackbird_get_option('blackbird_flicker'); ?>" target="_blank" rel="nofollow"><img src="<?php echo get_template_directory_uri(); ?>/img/flicker1.png" alt="Our Flicker Gallery" /></a>
- Line 103:
- <a href="<?php echo blackbird_get_option('blackbird_be'); ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/img/be.png" alt="" /></a>
- CHANGE:
- <a href="<?php echo blackbird_get_option('blackbird_be'); ?>" target="_blank" rel="nofollow"><img src="<?php echo get_template_directory_uri(); ?>/img/be.png" alt="Our B.E. Page" /></a>
- Line 109:
- <a href="<?php echo blackbird_get_option('blackbird_vimeo'); ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/img/vimeo.png" alt="" /></a>
- CHANGE:
- <a href="<?php echo blackbird_get_option('blackbird_vimeo'); ?>" target="_blank" rel="nofollow"><img src="<?php echo get_template_directory_uri(); ?>/img/vimeo.png" alt="Our Vimeo Channel" /></a>
- !!!!!!!!!!!!!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!
- REPEAT ABOVE STEPS FOR PAGE.PHP IF USING SILO'S
- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- /*******************************************************************************************/
- ALT ATTRIBUTES FOR LOGO/HEADER MISSING/BAD
- Fixes Required = Add alt attributes on page.php
- Appearance -> Editor -> Page Template "page.php"
- Line 29: alt="<?php bloginfo('name'); ?>"
- CHANGE: alt="<?php echo blackbird_get_option('logo_alt_text'); ?>"
- Line 217: alt=""
- CHANGE: alt="<?php echo blackbird_get_option('header_alt_text'); ?>"
- /*******************************************************************************************/
- FIX GOOGLE+ PR SIPHON
- Fixes Required = Add nofollow to the google+ at bottom of page in page.php and index.php
- Appearance -> Editor -> "Main Template" index.php
- Line 328: rel="author"
- CHANGE: rel="author nofollow"
- !!! REPEAT ON PAGE.PHP IF USING SILO'S !!!
- Authorank pretty pointless now unless you have 1000's of local followers. No author images displayed in Rich Snippets. So personally I don't bother adding my G+ Authorship, despite having around 400 local followers. It doesn't provide any eyecandy in SERP's anymore, tis been nerfed, because they need ads to be the eyecandy! MOAR MONIES!!
- Guaranteed, a few months from now you will start seeing images in most ads. Even the rich snippet testing tool shows Matt Cutts blog without his face.
- /*******************************************************************************************/
- BLOATED GOOGLE FONTS
- - Our theme doesn't even use them so probably not too bad, however I did see google api calls when loading page.
- Fixes Required = Delete Google font API calls.
- Appearance -> Editor -> "Header Template" header.php
- Line 13: Delete whole line: <link href='http://fonts.googleapis.com/css?family=Ubuntu:400,500,700' rel='stylesheet' type='text/css'>
- Line 14: Delete whole line: <link href='http://fonts.googleapis.com/css?family=Cabin' rel='stylesheet' type='text/css'>
- WTF seriously? CABIN! That's one of the highest page load fonts available. We are supposed to be SEO's here not crappy designers.
- /*******************************************************************************************/
- UNNEEDED CALLS TO "SHARE THIS"
- Fixes Required = Delete API calls to "Share This"
- Appearance -> Editor -> "Header Template" header.php
- Line 21: Delete line: <!--<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
- /*******************************************************************************************/
- UNNEEDED PINGBACKS
- Fixes Required = Delete pingback link
- Appearance - Editor -> "Header Template" header.php
- Line 18: Delete line: <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
- /*******************************************************************************************/
- UNNEEDED RSS/ATOM
- Fixes Required = Delete RSS/ATOM Links
- Appearance -> Editor -> "Header Template" header.php
- Line 15: Delete line: <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
- Line 16: Delete line: <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
- Line 17: Delete line: <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="<?php bloginfo('atom_url'); ?>" />
- /*******************************************************************************************/
- TODO ! REMOVE ALL THESE FUCKING TAGS - WE DON'T USE THEM AND THEY ARE SECURITY HOLES FOR HACKERS (xmlrpc is at least)
- <script type='text/javascript' src='http://www.example.com/wp-includes/js/jquery/jquery.js?ver=1.11.0'></script>
- <script type='text/javascript' src='http://www.example.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1'></script>
- <script type='text/javascript' src='http://www.example.com/wp-content/themes/ras-theme1/js/ddsmoothmenu.js?ver=3.9.1'></script>
- <script type='text/javascript' src='http://www.example.com/wp-content/themes/ras-theme1/js/jquery.flexslider-min.js?ver=3.9.1'></script>
- <script type='text/javascript' src='http://www.example.com/wp-content/themes/ras-theme1/js/slides.min.jquery.js?ver=3.9.1'></script>
- <script type='text/javascript' src='http://www.example.com/wp-content/themes/ras-theme1/js/jquery.prettyPhoto.js?ver=3.9.1'></script>
- <script type='text/javascript' src='http://www.example.com/wp-content/themes/ras-theme1/js/jquery.validate.min.js?ver=3.9.1'></script>
- <script type='text/javascript' src='http://www.example.com/wp-content/themes/ras-theme1/js/custom.js?ver=3.9.1'></script>
- <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.example.com/xmlrpc.php?rsd" />
- <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://www.example.com/wp-includes/wlwmanifest.xml" />
- /*******************************************************************************************/
- TODO: LEAKY SILO DUE TO LOGO LINK.
- The logo link needs to be removed. Or link to current page.
- /*******************************************************************************************/
- TODO: MORE HEADINGS
- Make Content title of paragraph 2 and 3 <h3> headings not <p> paragraph tags. Better SEO than continued paragraphs.
- /*******************************************************************************************/
- TODO: ADD CONTENT SECTION BELOW VIDEO
- Add 2-4 Paragraphs below video for better content purposes. Realistically if we are aiming for good On-site SEO,
- we should be aiming for around 1700 words on the page. Which is awfully hard to do for local business, but the option should be there
- for people.
- /*******************************************************************************************/
- TODO: DIFFERENT IMAGES PER PAGE
- Make display image custom per SILO page, add to array data in meta.php and add an If-Else statement in page.php to display image per page_ID.
- /*******************************************************************************************/
- TODO: PLUGIN IS BROKEN AND SENDS MAIL VIA "WEBMASTER@EXAMPLE.COM"
- Current work-around. Open plugin and CTRL F find "webmaster" and then replace all copies with your own email. There's 4 copies.'
- /*******************************************************************************************/
- TODO: PLUGIN USES HEADINGS INSTEAD OF STYLING PLAIN TEXT
- Plugin uses <h1>RENT THIS PAGE FOR INSTANT SALES ONLY $1000 PER MONTH</h1>
- needs to be plain text, makes it difficult to rank for "Dentist New York", when your page infers something else entirely.
- /*******************************************************************************************/
- TODO: CLICK TO PHONE
- Fixes Required: Clickable Phone Number: Mobile search accounts for 40% of all internet traffic (dec 2013)
- In local services searches this number is even higher. Website needs to be mobile optimised.
- Some customers probably won't want you to overlay their site on yours. So click to phone is best option here'
- Add <a href="tel:0404660240"><address class="phone-number">0404 660 240</address></a>
- And add stylings based on previous style using .phone-number class.
- /******************************************/
- /*********** CUSTOMISATION TIPS ***********/
- /******************************************/
- PHONE NUMBER CTA:
- Fixes Required = None
- Appearence -> Editor -> "Main Index Template" Index.php
- Line 119:
- <span>CALL US NOW</span>
- CHANGE
- <span> Your Custom Text </span>
- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- ! REPEAT FOR PAGE.PHP IF USING SILO'S !
- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- /*******************************************************************************************/
- STYLE' - COLOR SILO LINKS:
- Fixes Required = Looks Fugly / Too Dark
- Appearence -> Editor -> "Stylesheet" style.css
- Line 1079: (last line)
- .footer_section a small{ display:inline-block; color:#000; font-size:16px;}
- CHANGE:
- .footer_section a small{ display:inline-block; color:#6a6a6a; font-size:16px;}
- To customise further simply add CSS styles after line 1079 or append the "!important" tags. For example:
- .footer_section a small{
- display:inline-block !important;
- color:#6a6a6a !important;
- font-size:22px !important;
- }
- !important forces your css to take preceedence. Css styles take preceedence in the following way, styles at top of the document get displayed first,
- styles towards end of document get displayed last. So if you have color:#000; at top of the document then color:#fff; at end of the document
- the color:#fff; will take a higher priority and color your text white.
- Lastly '!important' over-rules those again. So if you have color:#000; at beginning, color:#e5e3ab !important; in middle and
- color:#fff; at the end the color:#e5e3ab; will be displayed with priority.
- /*******************************************************************************************/
- /*******************************************************************************************/
- /*******************************************************************************************/
- /*******************************************************************************************/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement