This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<== Customer Pure Css Image Slider> | |
<div> | |
<div class="carousel"> | |
<ul class="slides"> | |
<input type="radio" name="radio-buttons" id="img-1" checked /> | |
<li class="slide-container"> | |
<div class="slide-image"> | |
<img src="https://upload.wikimedia.org/wikipedia/commons/9/9e/Timisoara_-_Regional_Business_Centre.jpg"> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Start Theme Spport Title | |
add_theme_support( 'title-tag' ); | |
// Adding excerpt for page | |
add_post_type_support( 'page', 'excerpt' ); | |
// thumbnails image | |
add_theme_support( 'post-thumbnails' ); | |
// wp_nav_menu() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Image main ALT tage lene k liye ye code use kare ge | |
<!-- Email Bell --> | |
<section class="emailbell"> | |
<div class="container"> | |
<?php | |
$q = new WP_Query( | |
array('post_type' => array('whyinboxy'), | |
'post_status' => array('publish'), | |
'orderby' => 'date', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
woocomerce main agar description shop er ya home per show nahi horahi hain tu ye code dege | |
// my | |
add_action( 'woocommerce_after_shop_loop_item_title', 'woo_show_excerpt_shop_page', 5 ); | |
function woo_show_excerpt_shop_page() { | |
global $product; | |
echo $product->post->post_excerpt; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="news-wrap"> | |
<?php | |
$q = new WP_Query( | |
array('post_type' => array('newswrap'), | |
'post_status' => array('publish'), | |
'orderby' => 'date', | |
'order' => 'ASC', | |
'posts_per_page' => 3 | |
)); | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Template Name: Inner Page | |
*/ | |
get_header(); | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--Ye Code Function file main dena hain themepanel or postype file ko assets k folder rakhna hain --> | |
<!-- require get_template_directory() . '/assets/themepanel.php'; | |
require get_template_directory() . '/assets/post-type.php'; --> | |
<?php | |
function theme_settings_page() | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- ye html ya php site per dege botton ko hide ki class dege or usi class main trigger class dege or ye scrip header k uper rakhe ge | |
wese ye DHK site lagi hoi hain --> | |
<?php | |
session_start(); | |
if (!isset($_SESSION['user1'])) { ?> | |
<script>setTimeout("trigger();", 20000); </script> | |
<?php } ?> | |
<?php | |
$save = 'value'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--Agar Post Type main catgory banani ho tu postype main regester_taxonomy banage --> | |
/** | |
* Create a taxonomy | |
* | |
* @uses Inserts new taxonomy object into the list | |
* @uses Adds query vars | |
* | |
* @param string Name of taxonomy object | |
* @param array|string Name of the object type for the taxonomy object. | |
* @param array|string Taxonomy arguments |
NewerOlder