myPages Create Network

Create site: Set up hosting, install WordPress, and activate multisite.

  1. Setup Hosting
  2. Change DNS
  3. Install WordPress
  4. Clone site from myPages.cardealerpress.com (in ManageWP). myPages.cardealerpress.com contains all of the required plugins and themes that are not activated. You will need to convert the site to multisite before activating anything.
  5. Convert site to Multisite
  6. Add PHP 5.3
  7. Add Parked Domain
  8. Subdomain wildcard (Godaddy)
  9. Add Multi-Domains (only do this step when full access to DNS is available and site will be based on “main” site domain)
  10. Delete Hello Dolly & Akismet Plugins
  11. Network activate all plugins BUT the Genesis simple sidebars and the Gravity Forms New User
  12. Setup Gravity Forms New User Registration on main site
  13. myMembers setup
  14. Google Analytics for Multisite
  15. myPages Template setup
  16. Setup Snapshot for backups
  17. Blog setup – sitewide tags
  18. Google Analytics Report Setup

php for salesperson’s site
[cc lang=’php’ ]

<?php
/* Do not remove this line. Add your functions below. */
/* Start add featured image to individual post */
add_action( ‘genesis_before_post_content’, ‘wps_add_featured_image’ );
/**
* Add featured image to single page
*/
function wps_add_featured_image() {
if ( ! is_single() ) return;
the_post_thumbnail();
}

//Video Embed
add_action( ‘genesis_before_post_content’, ‘wp_add_video_embed’ );

function wp_add_video_embed() {
$current_post_id = get_the_ID();
$video_embed = get_post_meta($current_post_id, ‘video_embed’, true);

if ( !empty( $video_embed ) ) {
$video_content = ‘<div class=”mymembers-video-embed”>’;
$video_content .= $video_embed;
$video_content .= ‘</div>’;

echo $video_content;
}
}

/** Custom Footer */

add_filter(‘genesis_footer_output’, ‘footer_output_filter’, 10, 3);

function footer_output_filter( $output, $backtotop_text, $creds_text ) {
$backtotop_text = ‘[footer_backtotop text=”Top of Page”]’;
$creds_text = ‘<a href=”/myPages/” target=”_blank”>myPages</a> by: <a href=”http://www.autovelocityllc.com” target=”_blank”>Auto Velocity</a>’;
wp_loginout();
$output = ‘<div class=”gototop”>’ . $backtotop_text . ‘</div>’ . ‘<div class=”creds”>’ . $creds_text . ‘</div>’;
return $output;
}

[/cc]
css for salesperson’s site

[cc lang=’css’ ]

/*main nav*/
#nav {
z-index: 99;
position: fixed;
width: 100%;
}

#ez-home-top-1 {
border-bottom-style: solid;
border-bottom-width: 1px;
}

#header .widget-area {
color: #000;
font-size: 20px;
text-align: center;
margin: 5px 0px 0px 0px;
line-height: 160%;
}

/* remove schedule test drive button on VDP */
#armadillo-schedule {
display: none !important;
}

/* remove send to friend button on VDP */
#armadillo-friend {
display: none !important;
}

/* remove contact box on VDP */

.armadillo-contact-information {
display: none;
}

.featuredpost .post h2 {
font-size: 15px;
font-weight: bold;
}
#footer .wrap > a {
float: right;
margin-left: 1%
}

[/cc]

php for blog site
css for blog site

php for main site
css for main site

Leave a Reply