This file contains hidden or 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
/* Styles for our page */ | |
body { | |
color: #444444; | |
background-color: #f2aae9; | |
font-family: 'Trebuchet MS', sans-serif; | |
font-size: 80%; | |
} | |
h1 { |
This file contains hidden or 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 | |
require 'inc-header.php'; | |
$chapter = ( $_GET[ 'chapter' ] ); | |
?> | |
<h3>Today is <?php echo myDate(); ?>.</h3> |
This file contains hidden or 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
//Print out times table up to 10 | |
for (var n=1; n<=10; n++) { | |
document.write('<div style="float: left; margin: 25px 10px;">') | |
for (i=1; i<=10; i++) { | |
document.write(n + ' x ' + i + ' = ' + n*i + '</br>'); | |
} | |
document.write('</div>') | |
} |
This file contains hidden or 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
/** | |
* Display the FAQs section | |
*/ | |
function wds_faqs() { | |
echo wds_get_faqs(); | |
} | |
/** | |
* Grab the FAQs content |
This file contains hidden or 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
<div id="wrapper"> | |
<div id="header"> | |
<h1>Using JavaScript to Add Interactions to Images</h1> | |
</div> | |
<div id="main"> | |
<img src="http://wilt.xyz/wp-content/uploads/2015/03/turtle.jpg" id="turtlePic" alt="Turtle"> | |
</div> | |
<div id="footer"> | |
</div> | |
</div> |
This file contains hidden or 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 | |
if ( have_posts() ) { | |
while ( have_posts() ) { | |
the_post(); | |
// | |
// Post Content here | |
// | |
} // end while | |
} // end if | |
?> |
This file contains hidden or 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 | |
/* | |
Plugin Name: WPSE-45326 Gallery Replacement example | |
Plugin URI: http://wordpress.stackexchange.com/questions/45326 | |
Description: A plugin to demonstrate how to replace the default 'gallery' shortcode and add additional HTML tags for more customization. | |
Version: 1.0 | |
Author: Tom Auger | |
Author URI: http://www.tomauger.com | |
License: GPL2 | |
*/ |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8" ?> | |
<!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. --> | |
<!-- It contains information about your site's posts, pages, comments, categories, and other content. --> | |
<!-- You may use this file to transfer that content from one site to another. --> | |
<!-- This file is not intended to serve as a complete backup of your site. --> | |
<!-- To import this information into a WordPress site follow these steps: --> | |
<!-- 1. Log in to that site as an administrator. --> | |
<!-- 2. Go to Tools: Import in the WordPress admin panel. --> | |
<!-- 3. Install the "WordPress" importer from the list. --> |
This file contains hidden or 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> | |
<title>My Page Title</title> | |
<style type="text/css"> | |
p { | |
color: blue; | |
font-size: 12px; | |
} | |
</style> | |
</head> |
OlderNewer