Za WEB STORE
https://www.youtube.com/watch?v=Rhk95JrpGhc
Tema za WEB STORE
za responsive menu
http://tympanus.net/codrops/2013/04/19/responsive-multi-level-menu/
Scroll page content
FullPage
https://github.com/alvarotrigo/fullPage.js/
Glide
https://github.com/jedrzejchalubek/Glide.js
Carousel
http://kenwheeler.github.io/slick/
http://owlgraphic.com/owlcarousel/
Scroll text over img
http://www.hongkiat.com/blog/css3-image-captions/
Za kreiranje custom post
http://generatewp.com/post-type/?clone=8GBp6kx
Za dodavanje customfields u woocommerce pluginu.
http://www.remicorson.com/woocommerce-custom-fields-for-variations/
ovo se dodaje u function.php
Za sakrivanje slike.
echo '<div style="background:url(http://i.imgur.com/UijZe.png) repeat; width:100%; height:100%; position:fixed; z-index: 10000000000;"></div>';
http://codex.wordpress.org/Function_Reference/get_currentuserinfo
http://shibulijack.wordpress.com/2012/03/18/create-custom-forms-in-wordpress/
<?php
include( 'wp-load.php');
global $current_user;
//get_currentuserinfo();
//print_r($current_user);
global $current_user;
get_currentuserinfo();
echo 'Username: ' . $current_user->user_login . "<br>";
echo 'User email: ' . $current_user->user_email . "<br>";
echo 'Test: ' . $current_user->wporg_favorites . "<br>";
echo 'User last name: ' . $current_user->user_lastname . "<br>";
echo 'User display name: ' . $current_user->display_name . "<br>";
echo 'User ID: ' . $current_user->ID . "<br>";
echo 'Logo: <br>';
echo '<img src=' . $current_user->pie_profile_pic_4 . ' alt="Logo" width="512" height="384">';
?>
Remove dashboard_meta
function remove_dashboard_meta() {
remove_meta_box( 'dashboard_incoming_links', 'dashboard', 'normal' );
remove_meta_box( 'dashboard_plugins', 'dashboard', 'normal' );
remove_meta_box( 'dashboard_primary', 'dashboard', 'side' );
remove_meta_box( 'dashboard_secondary', 'dashboard', 'normal' );
remove_meta_box( 'dashboard_quick_press', 'dashboard', 'side' );
remove_meta_box( 'dashboard_recent_drafts', 'dashboard', 'side' );
remove_meta_box( 'dashboard_recent_comments', 'dashboard', 'normal' );
remove_meta_box( 'dashboard_right_now', 'dashboard', 'normal' );
remove_meta_box( 'dashboard_activity', 'dashboard', 'normal');
}
remove_action( 'welcome_panel', 'wp_welcome_panel' );
add_action( 'admin_init', 'remove_dashboard_meta' );
ADD dashboard_meta
add_action( 'wp_dashboard_setup', 'register_my_dashboard_widget' );
function register_my_dashboard_widget() {
wp_add_dashboard_widget(
'my_dashboard_widget',
'My Dashboard Widget',
'my_dashboard_widget_display'
);
}
function my_dashboard_widget_display() {
echo 'Hello, I am Mr. Widget';
}
WP-PLUGIN
Bullet proof Security
PIE Register
Role Scoper
wpdatatable(ima dole attached)
Contact Form 7
Sidebar Login ?
POGLEDAJ DOLE OVE FAJLOVE