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
<?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 | |
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
[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 | |
/* 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
<?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 | |
// Custom Child Theme Functions | |
// First we make our function | |
function childtheme_welcome_blurb() { | |
if (is_home() & !is_paged()) { ?> |
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 | |
//calls the PHP XML-RPC library we're using: | |
include('IXR_Library.inc.php'); | |
define_syslog_variables(); | |
openlog("[GAZA XML SERVER]", LOG_PID | LOG_PERROR, LOG_LOCAL2); | |
class SimpleServer extends IXR_Server { | |
function SimpleServer() { |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
margin: 0; | |
} | |
.container { | |
width: 100%; | |
} | |
.container > header, |
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
[ | |
{ | |
"id": 231, | |
"title": "טוטו ווינר - המועצה להסדר ההימורים בספורט - Toto Winner", | |
"attempts": 0, | |
"visitedTs": 1432468214275, | |
"foundTs": 1432468188045, | |
"contentData": { | |
"src": "http://xwbe.wcdn.co.il/C6BE7BC4/E42E67B8.jpg" | |
}, |