HOT CSS
Free Beautiful Css templates, Web designer tricks from expert
Pages
(Move to ...)
Home
Tutorial
Css
jQuery
SEO
Opencart Expert
Woocommerce Expert
Wordpress Expert
Joomla Expert
▼
Showing posts with label
wordpress
.
Show all posts
Showing posts with label
wordpress
.
Show all posts
Tuesday, March 11, 2014
wordpress Year Shortcode
›
For the functions.php file: function year_shortcode() { $year = date('Y'); return $year; } add_shortcode('year', ...
wordpress Using Custom Fields
›
Dump out all custom fields as a list <?php the_meta(); ?> Display value of one specific custom field <?php echo get_post_meta($p...
wordpress Turn on WordPress Error Reporting
›
Comment out the top line there, and add the rest to your wp-config.php file to get more detailed error reporting from your WordPress site. D...
wordpress Turn On More Buttons in the WordPress Visual Editor
›
These buttons (like one for adding an <hr> tag) aren't there by default in the WordPress visual editor, but you can turn them on ...
wordpress Spam Comments with Very Long URL’s
›
Super long URL's are a sure fire sign the comment is spammy. This will mark comments with URL's (as the author URL, not just in the ...
wordpress Shrink the Admin Bar / Expand on Hover
›
A mini plugin: <?php /* * Plugin Name: Mini Admin Bar * Plugin URI: http://www.netyou.co.il/ * Description: Makes the admin bar a...
wordpress Show Your Favorite Tweets with WordPress
›
Just replace the URL in the fetch_rss line below with the RSS feed to your Twitter favorites. In fact this will work with any RSS feed . ...
wordpress Shortcode in a Template
›
Shortcodes in WordPress are bits of text you can use in the content area to invoke some kind of function to accomplish certain tasks. For ex...
wordpress Shortcode for Action Button
›
For functions.php /* Shortcode to display an action button. */ add_shortcode( 'action-button', 'action_button_shortcode' ...
wordpress Run Loop on Posts of Specific Category
›
<?php query_posts('cat=5'); ?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php the_con...
wordpress Run a Loop Outside of WordPress
›
Include Basic WordPress Functions <?php // Include WordPress define('WP_USE_THEMES', false); require('/server/path/...
wordpress Reset Admin Password Through Database
›
You'll need to be able to run SQL on that database, like for example, through phpMyAdmin. UPDATE `wp_users` SET `user_pass` = MD5( ...
wordpress Reset Admin Password in Database
›
Forget your admin password and don't have access to the email account it's under? If you can get access to phpMyAdmin (or anything y...
wordpress Replace Excerpt Ellipsis with Permalink
›
This is useful if you would like to replace the ellipsis [...] from the excerpt with a permalink to the post. functions.php addition: func...
wordpress Remove WP Generator Meta Tag
›
It can be considered a security risk to make your wordpress version visible and public you should hide it. Put in functions.php file in you...
wordpress Remove Whitespace from Function Output
›
In WordPress, there are many functions which output things for you. For example, wp_list_pages() outputs a list of all your published pages....
wordpress Remove the 28px Push Down from the Admin Bar
›
For your functions.php file: add_action('get_header', 'my_filter_head'); function my_filter_head() { remove_act...
wordpress Remove Specific Categories From The Loop
›
<?php query_posts('cat=-3'); ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> ...
wordpress Remove Private/Protected from Post Titles
›
For the functions.php file in your theme: function the_title_trim($title) { $title = attribute_escape($title); $findthese = array( ...
wordpress Remove Paragraph Tags From Around Images
›
In case you want to have <img> in your content but not have them get "Auto P'd" like WordPress likes to do. example of...
›
Home
View web version