Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

atelierdesmedias/wp-admtheme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordpress Theme ADM

The theme for the website atelier-medias.org.

This code is under GPLv3.

TODO

See Trello board

Docs

See website documentation

Design

See design online

Plugins

You need to install the following plugins:

  • EME Sync Facebook Events
  • Events Made Easy
  • Regenerate Thumbnails
  • Shortcodes Ultimate
  • WP-PageNavi
  • XWiki ADM

Import Facebook events into the calendar

  • Install the "Events Made Easy" plugin (read the doc)
  • Install the Facebook adapter. Input your API Key / Secret
  • Copy/paste the template the following code in Events/Settings/Events in the field Default event list format:
<li>
    <div class="calendar-event">
        <a href=#_EVENTPAGEURL>
            <div class="calendar-circle"></div>
        </a>
        <h3 class="calendar-date">#j #M #Y</h3>
        <div class="calendar-info">
            <span class="calendar-time">#g h#i</span> - <span class="calendar-title">#_LINKEDNAME</span>
        </div>
        <div class="calendar-excerpt">
            #_EXCERPT
        </div>
    </div>
</li>
  • Copy/paste the template following code in Events/Settings/Events in the field Default single event format:
<div class="calendar-event-single">
    <div class="calendar-single-inner">
        <div class="calendar-info">
            <div class="calendar-img">
            </div>
            <div class="calendar-date">
                <h2 class="calendar-title">
                    #j #M #Y
                    <br>
                    <small class="calendar-time">#G h#i</small>
                </h2>
            </div>
        </div>
        <div class="calendar-excerpt">
           #_NOTES
       </div>
   </div>
   <div class="calendar-map">
    #_MAP
    </div>
</div>