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
| owl slider main ye jquery deni hoti hain | |
| $(".logoes").owlCarousel({ | |
| loop:true, | |
| margin:0, | |
| nav:true, | |
| responsive:{ | |
| 0:{ | |
| items:2 | |
| }, | |
| 600:{ |
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 pora page counter se dynemic banahowa hain wp ka | |
| <?php | |
| /** | |
| * Template Name: Treatment | |
| */ | |
| get_header(); ?> | |
| <?php $thumbnail = wp_get_attachment_image_src(get_post_thumbnail_id(),'full', true); | |
| ?> |
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
| <!--HTML--> Navi ko Full page id k uper rakhe ge | |
| <header id="header"> | |
| <div class=" clear"> | |
| <a href="/" id="logo"><img src="assets/images/logo.png" alt="Homepage"/></a> | |
| <a class="menu" title="Show Menu"><span>Menu</span></a> | |
| <nav id="topMenu"><div class="ins"><div class="scroll"> | |
| <a href="/">Home</a> | |
| <a href="#">Work</a> | |
| <a class="sub">Services</a> | |
| <div class="sm"> |
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 echo substr(get_the_title(), 0, 55); ?>... |blog post title ki limit kam karni ho tu ye code lagain ge | |
| <?php echo substr(strip_tags(get_the_content()),0,150); ?>... |blog post ki post limit kam karni ho tu ye code lagain ge | |
| <?php echo substr(str_replace('h1', 'p',get_the_content()), 0 , 150); ?> agar post main h1 araha hain us ko show p main karwana hain tu replace u kare ge | |
| <?php the_title(); ?> |Loop ka title | |
| <?php the_content(); ?> | Loop ka content | |
| <?php echo get_the_content(); ?> | is code hi html se p nahi utain ga jesa hain h1 ya h2 waghera wesa hi call kare ga | |
| <?php echo get_template_directory_uri(); ?>/ | ye wordpress ka function hain is ko hum css javascript or images waghera main use karte hain href="is dalte hain hreff k under css main src k under or java orimage main bi | |
| <?php echo site_url(); ?> ye maen site ka url uthain ga | |
| <?php echo get_permalink($post->ID);?>"> Ye blog post k liye permalink lagana hota hain($post->ID)ye blog post ki id uthian ga |
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 sab se zarory hain | |
| /*xs*/ | |
| @media (min-width: 1px) and (max-width: 767px){ mobile | |
| } | |
| /*sm*/ | |
| @media (min-width: 768px) and (max-width: 992px){ tablate | |
| } | |
| /*MD*/ |
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 |
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
| <!--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
| <?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
| <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 | |
| )); | |
| ?> |