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
| <a class="more" href="#">More Information</a> | |
| //css | |
| .more { | |
| background: #c09d78 url(arrow.png) right no-repeat; | |
| display: block; | |
| position: relative; | |
| padding: 0 50px; | |
| } |
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
| In PHP myadmin | |
| UPDATE wp_options SET option_value = '' WHERE option_name = 'limit_login_lockouts' |
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
| //Example: 1 http://stackoverflow.com/questions/4287357/access-php-variable-in-javascript | |
| <script type="text/javascript"> | |
| var php_var = "<?php echo $php_var; ?>"; | |
| </script> | |
| //Example: 2 http://stackoverflow.com/questions/2928827/access-php-var-from-external-javascript-file | |
| <?php $color = "Red"; ?> | |
| <script type="text/javascript">var color = "<?= $color ?>";</script> | |
| <script type="text/javascript" src="file.js"></script> |
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
| Inside Functions File: | |
| add_action( 'genesis_meta', 'add_optimizely', 1 ); | |
| function add_optimizely(){ | |
| ?> | |
| <script src="//cdn.optimizely.com/js/264810639.js"></script> | |
| <?php | |
| } |
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
| define('WP_POST_REVISIONS',FALSE); |
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
| https://github.com/jaredatch/Custom-Metaboxes-and-Fields-for-WordPress/wiki/Basic-Usage | |
| http://designmodo.com/wordpress-post-meta/ |
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 add_action ( 'hook_name', 'your_function_name', [priority], [accepted_args] ); |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Title of the document</title> | |
| </head> | |
| <body> | |
| <h2 style="text-align: center;">Thanks for your support.</h2> | |
| <h4 style="text-align: center;">Thank you for your contribution to Texans for Greg Abbott. Your generosity fuels our efforts to fight for conservative principles and real leadership..</h4> | |
| <h3 style="text-align: center; font-weight: bold; line-height: 32px;">Follow us on <a style="background-image: url(http://w.sharethis.com/images/twitter_32.png); |
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
| /*! | |
| * jQuery Cycle Plugin (with Transition Definitions) | |
| * Examples and documentation at: http://jquery.malsup.com/cycle/ | |
| * Copyright (c) 2007-2013 M. Alsup | |
| * Version: 3.0.2 (19-APR-2013) | |
| * Dual licensed under the MIT and GPL licenses. | |
| * http://jquery.malsup.com/license.html | |
| * Requires: jQuery v1.7.1 or later | |
| */ | |
| ;(function($, undefined) { |
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="container"> | |
| <div id="navi">a</div> | |
| <div id="infoi"><img src="info_icon2.png" height="20" width="32"/>b</div> | |
| </div> | |
| #container { | |
| width: 100px; | |
| height: 100px; | |
| position: relative; | |
| } |
NewerOlder