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
<!-- OLD --> | |
<article class="widget content-container span12 image-widget"> | |
<header class="content-header"> | |
<h3>Discover ideas. Ask Questions. Be you. Welcome to the Community.</h3> | |
</header> | |
<article class="content-container"> | |
<img src=""> | |
</article> | |
</article> |
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
<article class="widget content-container featured-category-questions widget span12"> | |
<header class="content-header"> | |
<h1>Featured Questions</h1> | |
</header> | |
<section class="content-body clearfix"> | |
<section class="span6"> | |
<!-- DROPZONE: FIRST FEATURED QUESTION --> |
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
<article class="content-container featured-post span12"> | |
<header class="content-header"> | |
<h3>Featured Blog Post</h3> | |
</header> | |
<section class="content-body clearfix"> | |
<div class="featured-image span6"> | |
<img src="/wp-content/uploads/2012/07/blogmodule.jpg"> | |
</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
<article class="content-container featured-question span12"> | |
<header class="content-header"> | |
<h3>Featured Question</h3> | |
</header> | |
<section class="content-body clearfix"> | |
<div class="content-details clearfix"> | |
<span class="content-category"><a href="#" title="Fantasy">Fantasy</a></span> |
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
<article class="widget content-container featured-category-questions widget span12"> | |
<header class="content-header"> | |
<h1>Featured Questions</h1> | |
</header> | |
<section class="content-body clearfix"> | |
<section class="span6"> | |
<!-- DROPZONE: FIRST FEATURED QUESTION --> |
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
#!/bin/bash | |
SYNC_BIN_PATH=`dirname $(readlink -f $0)` | |
TMP_PATH="$SYNC_BIN_PATH/tmp" | |
REPO_PLUGINS="$SYNC_BIN_PATH/uxwpress/plugins/*" | |
NEW_REPO_PLUGINS="$SYNC_BIN_PATH/plugins" | |
for i in $REPO_PLUGINS | |
do | |
CURRENT_PLUGIN_NAME=`basename "$i"` |
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
#!/bin/bash | |
function actual_path() { | |
if [ [ -z "$1" ] -a [ -d $1 ] ]; then | |
echo $(cd $1 && test `pwd` = `pwd -P`) | |
return 0 | |
else | |
return 1 | |
fi | |
} |
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
#!/bin/bash | |
# readlink -f resolves symlinks but doesnt work on OSX or BSD. | |
# SYNC_BIN_PATH=`dirname $(readlink -f $0)` | |
# pwd is lazy, doesnt resolve symlinks, but works everywhere. | |
SYNC_BIN_PATH=$(pwd) | |
TMP_PATH="$SYNC_BIN_PATH/tmp" | |
REPO_PLUGINS="$SYNC_BIN_PATH/uxwpress/plugins/" | |
NEW_REPO_PLUGINS="$SYNC_BIN_PATH/plugins" |
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
#!/bin/bash | |
## | |
# Name: wp-gitify | |
# Description: Turns the subversion repositories of wordpress | |
# plugins and themes into github read-only repositories. | |
# Author: Brian Greenacre <[email protected]> | |
# Requirements: git, svn, git-svn, svn2git, curl | |
## |
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 | |
/* | |
* A walker class to use that extends wp_dropdown_categories and allows it to use the term's slug as a value rather than ID. | |
* | |
* See http://core.trac.wordpress.org/ticket/13258 | |
* | |
* Usage, as normal: | |
* wp_dropdown_categories($args); | |
* |
OlderNewer