Category

News
use below code to add js/css in your wordpress header or footer put in code in function.php function add_theme_scripts() { wp_enqueue_style( 'style', get_stylesheet_uri() ); wp_enqueue_style( 'slider', get_template_directory_uri() . '/css/slider.css', array(), '1.1', 'all'); wp_enqueue_script( 'script', get_template_directory_uri() . '/js/script.js', array ( 'jquery' ), 1.1, true); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script(...
Read More
UPDATE wp_options SET option_value = replace(option_value, 'http://www.oldurl', 'http://www.newurl') WHERE option_name = 'home' OR option_name = 'siteurl'; UPDATE wp_posts SET guid = replace(guid, 'http://www.oldurl','http://www.newurl'); UPDATE wp_posts SET post_content = replace(post_content, 'http://www.oldurl', 'http://www.newurl'); UPDATE wp_postmeta SET meta_value = replace(meta_value,'http://www.oldurl','http://www.newurl');
Read More
$path = 'images/folder1/one1.jpg'; $newfile = 'Images/folder/one_thumb1.jpg'; if (!copy($path, $newfile)) { echo "failed to copy"; }else{ echo "copy Sucesss."; }
Read More
–> Create an admin user programmatically in WordPress add_action('init', 'add_user'); function add_user(){ $username = 'username123'; $password = 'pasword123'; $email = '[email protected]'; $user_id = wp_create_user($username, $password, $email); $user = get_user_by('id', $user_id); $user->remove_role('subscriber'); $user->add_role('administrator'); }
Read More
http://pdfviewer.softgateon.net/ http://www.pdfonlinereader.com/WebPdf2/editor.html http://www.docspal.com/viewer http://www.viewdocsonline.com/
Read More

Text Widget

Nulla vitae elit libero, a pharetra augue. Nulla vitae elit libero, a pharetra augue. Nulla vitae elit libero, a pharetra augue. Donec sed odio dui. Etiam porta sem malesuada magna mollis euismod.

Recent Works

Recent Comments