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
<?php | |
// | |
// Custom Child Theme Functions | |
// | |
// I've included a "commented out" sample function below that'll add a home link to your menu | |
// More ideas can be found on "A Guide To Customizing The Thematic Theme Framework" | |
// http://themeshaper.com/thematic-for-wordpress/guide-customizing-thematic-theme-framework/ |
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
<?php | |
/* Log-in | |
--------------------------------------------------------- */ | |
//here I will need to add a login bar for the site | |
function classlog_login() { | |
//possibly relevant template tags: | |
//wp_register() | |
//wp_loginout() |
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
[gist]https://gist.github.com/976800[/gist] |
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
<?php | |
function childtheme_posttitle($posttitle) { | |
return '<div class="containing">' . $posttitle . '</div>'; | |
} | |
add_filter('thematic_postheader_posttitle','childtheme_posttitle'); | |
?> |
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
<?php | |
function childtheme_postheader() { | |
echo 'bacon'; | |
} | |
add_filter('thematic_postheader','childtheme_postheader'); | |
?> |
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
<?php | |
// First we make our function | |
function childtheme_welcome_blurb() { | |
// We'll show it only on the HOME page IF it's NOT paged | |
// (so, not page 2,3,etc.) | |
if (is_home() & !is_paged()) { ?> | |
<!-- our welcome blurb starts here --> | |
<div id="welcome-blurb"> | |
<p>Welcome to <?php bloginfo('name'); ?>.</p> | |
</div> |
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
<p dir="rtl"><strong>חוק חופש המידע, התשנ"ח</strong><strong>1998-</strong><strong> </strong><sup>1</sup></p> | |
<p dir="rtl"><strong>1. חופש מידע</strong></p> | |
<p dir="rtl">לכל אזרח ישראלי או תושב הזכות לקבל מידע מרשות ציבורית בהתאם להוראות חוק זה.</p> | |
<p dir="rtl"><strong>2. הגדרות</strong><sup>4</sup><strong> </strong></p> | |
<p dir="rtl">בחוק זה -</p> | |
<p dir="rtl"><strong>"ועדה משותפת"</strong> - ועדה משותפת של ועדת החוקה חוק ומשפט וועדת החוץ והבטחון של הכנסת;</p> | |
<p dir="rtl"><strong>"מידע"</strong> - כל מידע המצוי ברשות ציבורית, והוא כתוב, מוקלט, מוסרט, מצולם או ממוחשב;</p> | |
<p dir="rtl"><strong>"ממונה"</strong> - מי שמונה לפי סעיף 3;</p> | |
<p dir="rtl"><strong>"קבלת מידע"</strong> - לרבות עיון, צפיה, האזנה, העתקה, צילום, קבלת פלט מחשב או קבלת מידע בכל דרך אחרת בהתאם לסוג המידע וצורת החזקתו;</p> | |
<p dir="rtl"><strong>"רשות ציבורית"</strong><sup>4</sup> -</p> |
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
<?php | |
//-----------------------ADDING BLUEPRINT CSS----------------------------- | |
function add_blueprint() { | |
// Include main screen styles css | |
$content = "\t"; | |
$content .= "<link rel=\"stylesheet\" type=\"text/css\" href=\""; |
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
<?php | |
// Adds a home link to your menu | |
// http://codex.wordpress.org/Template_Tags/wp_page_menu | |
//function childtheme_menu_args($args) { | |
// $args = array( | |
// 'show_home' => 'Home', | |
// 'sort_column' => 'menu_order', | |
// 'menu_class' => 'menu', | |
// 'echo' => true |
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
<?php | |
//Column 3: Create a function and div to hold all random category posts | |
function random_category_loop(){ | |
if (is_home() & !is_paged()) { ?> | |
<div id="randomcategory" class="category span-14 last floatright"> | |
<!-- Use html to create category titles --> | |
<div class="categoryheader"> | |
<div id="randomthingscategory" class="floatright span-14 last categorytitle"> | |
<p><a href="http://localhost:8888/blog/category/random/">RANDOM <br>THINGS I LIKE</p> |