Giter VIP home page Giter VIP logo

cerebro-sage's Introduction

Another wordpress themes using sage as base template

installation for test purpose

  • copy themes to wordpress themes folder.
  • run npm install > bower install > gulp.
  • if on development process run gulp watch
  • import data test from tools > import > wordpress
  • open wp dashboard, edit themes
  • open costumize menu
  • add 2 menu set: header menu, footer menu
  • at customize, set main header in menu option
  • for footer can be added at widget part, add custom menu, add text for copyright
  • set frontpage as static page

adding share button support

  • install JETPACK plugin
  • activate shared buttons
  • edit functions and css to change it position on post
  • ** jetpack plugin incompatible, and made add media and tags become unusable **

adding popular post support

allowing registration

  • go to setting > tick membership > set new user default role
  • add custom page for login
  • add custom page for registration
  • adding plugin: WP User Avatar

contact-us page

<div class="container content" >

<p>Silahkan lengkapi form di bawah ini, tim suppotr kami akan melakukan verivikasi email Anda dan menghubungi Anda dalam waktu 3x24 jam.
<i>Note: Jika dalam 3x24 jam Anda belum mendapatkan balasan dari kami di email, periksa bagian spam dari email Anda.</i>
</p>

<div class="row">
<div class="form-group col-sm-5">
[email* email01 class:input-email class:form-control placeholder "Email"]
</div>
</div>

<div class="row">
<div class="form-group col-sm-3">
[text* username class:input-username class:form-control placeholder "Username"]
</div>
</div>

<div class="row">
<div class="form-group col-sm-3">
[select* category id:category class:category class:form-control "General Question" "Write for Us" "Kerjasama" "Sponsorship"]
</div>
</div>

<div class="row">
<div class="form-group col-sm-5">
[text* subject id:subject class:subject class:form-control placeholder "Subject"]
</div>
</div>

<div class="row">
<div class="form-group col-sm-7">
<p>[textarea* message id:message class:message class:form-control placeholder "Message"]</p>
</div>
</div>

<p><b>Attach File:</b></p>
<ul id="attachment">
<li>[file File-01]</li>
<li>[file File-02]</li>
<li>[file File-03]</li>
<li>[file File-04]</li>
<li>[file File-05]</li>
</ul>

<br>
<p><b>Security Code: </b></p>
[recaptcha id:recaptcha class:g-recaptcha size:normal]

<div class="container-fluid buttons">   
  <p>[submit class:btn class:btn-default id:submit "Send"] <a id="reset" class="btn btn-default" href="#">Reset</a></p>
</div>

</div>

slideshow gallery

  • adding tribulant slideshow
  • add image to slideshow-gallery > create gallery
  • paste the shortcode in post-edit
  • the shortcode must between custom tag, eg: [hide_gallery] [the_shortcode] [/hide_gallery]. It will make the gallery dissapear from post. The image gallery will appear in featured image position.
  • add custom fields in page edit post, with id: "gallery_id" and the value is gallery id that have been created

editable carousel header

  • can be used on each main page
  • add slug divided by # symbol in page content editor. eg: #this-is-1st-slug #this-is-2nd-slug
  • it will get title, excerpt, and featured image to be displayed on carousel section.

running text feature

  • add new custom field running_text in main homepage
  • add the running text value

share button

  • add plugin Shareaholic
  • un-check everything on Shareholic dashboard
  • do user registration
  • customize share button on post section
  • set share button style, remove unused button, check share counter, check total share counter
  • copy the shortcode > paste on format-news.php at shared-buttons section

Event location

  • add custom field event_location and its value on post page everytime event post category is created
  • the main home page will add extra information for event location

youtube playlist

  • on post with video category, add custom field youtube_playlist
  • create a playlist on youtube if u have none, or get other youtube playlist.
  • on youtube playlist page, press share > copy link address
  • on video post, paste on custom field youtube_playlist

disqus comment

  • In the left panel of your Wordpress admin, select Plugins > Add New
  • Search for "Disqus" and find the plugin provided by "Disqus".
  • Select Install Now > Activate Plugin
  • Proceed with the onscreen install instructions.
  • Log into your Disqus account, then choose the forum shortname you would like to install.

Beasiswa Post

  • Beasiswa has many custom fields, to make it easier we need a custom field manager
  • add plugin Custom Field Suite
  • admin dashboard > go to Field Group > add new field group
  • insert all custom data field, in this case we need :
Label Name Type
Negara negara text
Jurusan jurusan text
Universitas universitas text
Jenjang jenjang text
Studi date studi_date date
Deadline Submit deadline_Submit date
Beasiswa beasiswa text
Phone phone text
Email email text
Place place text
Amabassador amabassador text
go to Link go_to_Link text
download link download_link text
  • in Placement Rules, set Post Types equals post, and set Taxonomy Terms equals (category) Beasiswa
  • click Publish

Beasiswa Page

  • get share button shortcode from installed plugin Shareaholic
  • open template-custom-Beasiswa.php > paste it on share-button part
  • Warning! need more test on share buttons
  • for test purpose, it will paginated each 3 post, need to change posts_per_page in .php file to 10 on publish

Smart Articles

  • set how much result will be viewed each for pagination. On Beasiswa section, open template-custom-smart-article.php > go to section main-content in section sort-by > change post_per_page value
  • set rumus cepat badge for each thumbnails. Create category Rumus Cepat with slug rumus, add sub category with Photo and Video

Sign in & sign up with facebook

  • install plugin Nextend Facebook
  • follow the setup instruction from dashboard > setting > Nextend
  • modifiy the anchor a href button on template page login and signup, using Nextend template on usage section
  • add class for anchor with class="btn btn-fb col-sm-12"
  • change the text button to text image using <img src="<?php bloginfo('template_url'); ?>/assets/images/cb_fb-logo.png" alt="fb" /> Sign In With Facebook

aDMIN:rahasia

cerebro-sage's People

Contributors

wisnuunu avatar alpialip avatar

Watchers

 avatar  avatar

Forkers

alpialip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.