How to Get Category name from Post ID in wordpress?
Get Category name from Post ID $category_detail=get_the_category(‘4’);//$post->ID foreach($category_detail as $cd){ echo $cd->cat_name; } Get more information Read More Posts
I would like to discuss on whatever your requirement will be. Also I feel pleasure to be a part on that. So let’s just the conversation and finish this in efficient way.
Get Category name from Post ID $category_detail=get_the_category(‘4’);//$post->ID foreach($category_detail as $cd){ echo $cd->cat_name; } Get more information Read More Posts
How to upload image file in database in php in wordpress? <html> <head> <?php extract($_POST); global $wpsite; global $wpdb; if(isset($_POST[‘submit’])){ /* Upload Image */ if ( ! function_exists( ‘wp_handle_upload’
Redirect on any specific page after woocommerce login. function admin_default_page() { return ‘/new-dashboard-url’; } add_filter(‘login_redirect’, ‘admin_default_page’); Get more information Read More Posts
use javascript in php or how to redirect on any page in php <?php echo ‘<script LANGUAGE=”JavaScript”>window.location.href=”‘.site_url().’/loginform“;</script>’; ?>
get wordpress site title name from url <?php // Exit if accessed directlyif ( !defined( ‘ABSPATH’ ) ) exit; function oops_script(){ wp_enqueue_style(“oops-style”, plugin_dir_url(__FILE__).”style.css”); }add_action(“wp_enqueue_scripts”,”oops_script”); /*+++++++ Declaring Global Variables +++++++++*/$domain =
Fix woocommerce-rating-stars-bugs-sssss body.woocommerce .star-rating span::before { content: “SSSSS” !important; color: #e0b22f !important;} .woocommerce .star-rating span{font-family:star !important;} .star-rating::before { color: #e0b22f;}
create table with CSS :nth-child() Selector <html> <head> <style> .container{ margin:auto; width:80%; } .main-row{ width:20%; float:left; background-color:#0AA52D; text-align:center; padding:10px 0px; color:white; } .col-2{ width:20%; float:left; text-align:center; padding:10px 0px; border-bottom:1px solid #f1f1f1; } .row{ width:100%;
wpcodekit Website Designers is one of the best website designing company in punjab 2020. We create beautiful looking, fast and secure websites.We are create professional websites in punjab since 2016.
Website Designed and Developed by Jaspreet Singh