This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* I'll put here different examples of dynamic query for Oxygen repeater : | |
* - Use one of the following repeater_dynamic_query definitions | |
* in code block just BEFORE the repeater | |
* - Set the repeater custom query settings : post type, number of posts, order... | |
* - Add the remove_action in a code block AFTER the repeater | |
*/ | |
/**************************************************************************************************** | |
* Display related posts for any CPT with taxonomy: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<link href='https://fonts.googleapis.com/css?family=Lato' rel='stylesheet' type='text/css'> | |
<style> | |
body{font-family: Lato;} | |
caption{font-size: 22pt; margin: 10px 0 20px 0; font-weight: 700;} | |
table.calendar{width:100%; border:1px solid #000;} | |
td.day{width: 14%; height: 140px; border: 1px solid #000; vertical-align: top;} | |
td.day span.day-date{font-size: 14pt; font-weight: 700;} | |
th.header{background-color: #003972; color: #fff; font-size: 14pt; padding: 5px;} |