Skip to content

Instantly share code, notes, and snippets.

@ymirpl
Created May 14, 2014 15:44
Show Gist options
  • Save ymirpl/6551b916ee80c5754ac2 to your computer and use it in GitHub Desktop.
Save ymirpl/6551b916ee80c5754ac2 to your computer and use it in GitHub Desktop.

Editing new example website

Theme

The theme is called example. Your old theme is kept on server and called example BACKUP.

Files layout on server: All *.php templates are kept inside themes\example\sw2\ directory. All static files (images/scripts/styles) are inside common, content and sample directories.

Landing page

Landing page is a special kind of page that has it's own layout (special template). The template is called SW2-Landing-without-tabs-v2 Page Template and can be edited using Theme editor in WP's admin panel.

Posts, Tweets and Videos are wired to respectable mechanisms in Wordpress, so if you edit them like you used to do this before and they will automatically appear on the site.

Adding new ticker items

You can do this by using Ticker section from the main admin menu (on the left hand side).

Adding new customer logo

First, prepare the image. The image must be png which is exactly 300px wide and 100px tall.

Then go to Customers Logos section in main admin menu and add new logo. Set up customer's name as the title and his logo as a featured image (using admin widget on the right hand side).

Adding new news item

First prepare the image. The image must be png with 285 × 185px dimensions.

Then go to Press section from the main admin menu and add new press item. Set up the image as "featured image".

Customers page

Template name is W2-Customers Page Template. To add new story, please copy and paste <li class="customers-list-item"> item with it's contents.

About page

Tempalte name is SW2-new-about Page Template. To add/remove/edit team member, please go to Team Members WP Admin page.

Please see Max as an example. The first column of team member description is inside <div class="text-column col-sm-6 col-md-4 first"></div> tag, the second column inside <div class="text-column col-sm-6 col-md-4"></div> tag. The title needs to be set up to team member's name, and he or she needs to be added to one of the groups using Groups widget on the right side.

The featured image needs to be set up (on the right side), it must be exactly 284px wide and  94px tall.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment