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
<select name="submitted[cms_url][select]" class="form-select required select-or-other-select" id="edit-submitted-cms-url-select" ><option value="">select...</option><option value="Alfresco">Alfresco</option><option value="BigAce">BigAce</option><option value="Bitweaver">Bitweaver</option><option value="BrowserCMS">BrowserCMS</option><option value="CMS Made Simple">CMS Made Simple</option><option value="Concrete5">Concrete5</option><option value="Covide">Covide</option><option value="CushyCMS">CushyCMS</option><option value="dotCMS">dotCMS</option><option value="DotNetNuke">DotNetNuke</option><option value="e107">e107</option><option value="EasyHP CMS">EasyHP CMS</option><option value="Elielton">Elielton</option><option value="Enano CMS">Enano CMS</option><option value="eXo Platform ECM">eXo Platform ECM</option><option value="Exponent CMS">Exponent CMS</option><option value="Expression Engine">Expression Engine</option><option value="eZ Publish">eZ Publish</option><option value="FlatNuke">FlatNuke</option><op |
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 if ( current_user_can('manage_options') ) { do_something(); } ?> |
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
Estados do Brasil por Sigla | |
AC | |
AL | |
AP | |
AM | |
BA | |
CE | |
DF | |
ES |
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
Question: | |
Anyone know of a way to append a thickbox query into the wp_list_pages href, without having to modify core templates? | |
The normal output: | |
/?page_id=85 | |
With appended Thickbox query: | |
/?page_id=85?KeepThis=true&TB_iframe=true&height=400&width=600 |
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 | |
$bm = get_bookmarks( array( | |
'orderby' => 'name', | |
'order' => 'ASC', | |
'limit' => -1, | |
'category' => null, | |
'category_name' => 'Related Sites', | |
'hide_invisible' => 1, | |
'show_updated' => 0, | |
'include' => null, |
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
$("#datepicker").datepicker({ | |
minDate: +5, | |
maxDate: '+1M +10D', | |
changeMonth: true, | |
onSelect: function(dateText, inst){ | |
var the_date = new Date(dateText); | |
$("#datepicker2").datepicker('option', 'minDate', the_date); | |
} | |
}); | |
$("#datepicker2").datepicker(); // add options if you want |
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> | |
<title>Teste</title> | |
<meta name="author" content="Juckson"> | |
</head> | |
<body> | |
<div id="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
<?php | |
//Via http://labbs.com.br/ | |
class xml2Array { | |
var $arrOutput = array(); | |
var $resParser; | |
var $strXmlData; | |
function parse($strInputXML) { |
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 is_tag(); ?> | |
<?php if (have_posts()) : ?> | |
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> | |
<?php /* If this is a category archive */ if (is_category()) { ?> | |
<h2>Notícias por categoria ‘<?php single_cat_title(); ?>’</h2> | |
<?php /* If this is a tag archive */ } elseif( is_tag() ) { ?> | |
<h2>Notícias com a Tag ‘<?php single_tag_title(); ?>’</h2> | |
<?php /* If this is a daily archive */ } elseif (is_day()) { ?> | |
<h2>Notícias publicadas em <?php the_time('F jS, Y'); ?></h2> |
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
/* | |
WordPress shortcode: Display the loop | |
From http://www.wprecipes.com/wordpress-shortcode-display-the-loop/ | |
*/ | |
<?php | |
function myLoop($atts, $content = null) { | |
extract(shortcode_atts(array( | |
"pagination" => 'true', | |
"query" => '', |