How can I get user URL by id
You should use get_author_posts_url() to get the author’s link.
You should use get_author_posts_url() to get the author’s link.
This is because your footer is fixed which removes it from the normal page flow. You can add 50px padding-bottom to your #main div (or .site-main on line 790 of your style.css). Overall this though isn’t really a WordPress questions and more of a HTML / CSS Questions. Please visit Stack Overflow.
You can use the plugin “Download Monitor” I use it and works great. You could also set custom configuration in your wp-config.php file to use a different directory. Depends on whether or not you want to just hide wp-content as the directory or actually completely change it.
I don’t see any get_option() function on line 9 or anywhere else in your code. After quick googling, my guess would be that your problem is the same as this question on stackoverflow EDIT As @Ray proposed at the linked question, paste this in your code to check if wp-includes/option.php is included: $includedStuff = get_included_files(); … Read more
Use wp_list_categories Here’s all the parameters <?php $args = array( ‘show_option_all’ => ”, ‘orderby’ => ‘name’, ‘order’ => ‘ASC’, ‘style’ => ‘list’, ‘show_count’ => 0, ‘hide_empty’ => 1, ‘use_desc_for_title’ => 1, ‘child_of’ => 0, ‘feed’ => ”, ‘feed_type’ => ”, ‘feed_image’ => ”, ‘exclude’ => ”, ‘exclude_tree’ => ”, ‘include’ => ”, ‘hierarchical’ => 1, … Read more
It looks like you’re addressing me 😉 If you want to modify this code snippet: add_action( ‘wp_logout’,’go_home’ ); function go_home(){ wp_redirect( home_url() ); exit(); } you can replace the home_url() part with your custom page URL: ‘http://example.com/landingpage/’ but I wouldn’t recommend hardcoding the landing page, if it’s an internal page. You can try to construct … Read more
Each time you use wp_enqueue_style, they each need their own unique ID. So ‘google-fonts’ isn’t going to work with: wp_enqueue_style( ‘google-fonts’, ‘http://fonts.googleapis.com/css?family=‘. $enque_font, false, ”, ‘all’ ); And you have two variables set up for the array? $font_link = $style_font_standard = array( I wrote it as one variable and in the array, they have pairs, … Read more
Although users have access to go to /wp-admin/, they will not have access to do anything on there. There is no security risk involved to being able to have access /wp-admin/ for WooCommerce users. If you’d like however, you can setup an Apache protected directory with a password to /wp-admin/ that requires an additional user … Read more
EDIT When you decided to unaccept my answer and change your question in the comments to my answer I was already in bed. Please consider @kaiser comment next time when asking a question. For the purpose of my answer, here is your comment i am having problem.. actually i want to show order by alphabet … Read more
Solved this by changing ‘Expires header lifetime’ on HTML & XML to ‘1 second’. Not sure if this will decrease performance on other things though.