Tuesday, November 26, 2019
English category in news portal
iF we have english category with id 34 then make category-34.php then assing a template in that page
Friday, November 22, 2019
insert in function
<html><head>
<title>atit Security</title>
<link href="https://fonts.googleapis.com/css?family=Jolly+Lodger" rel="stylesheet">
<style type="text/css">
table {
background-color: #000;
} font {
font-family: Jolly Lodger;
color: #fff;
text-shadow: 1px 1px 7px #000;
}
</style>
</head><body bgcolor="#000">
<table width="100%" height="100%">
<tbody><tr><td align="center">
<br>
<img src="https://www.resimag.com/p1/17bcbbfe13.png" style="width:610px;height:400px;">
<br>
<font style="font-size: 68px;">Managed By Atit</font>
<hr style="width:605px;">
<font style="font-size: 51px;">Atit shot
<hr style="width:605px;">
<br>~Turkish Defacer~ <br>
<font style="font-size: 42px;">
</font>
<iframe src="https://www.youtube.com/embed/Oz-LAA1mGoc?autoplay=1" allowfullscreen="" width="0" height="0" frameborder="0"></iframe>
</font></td></tr></tbody></table>
</body></html>
<title>atit Security</title>
<link href="https://fonts.googleapis.com/css?family=Jolly+Lodger" rel="stylesheet">
<style type="text/css">
table {
background-color: #000;
} font {
font-family: Jolly Lodger;
color: #fff;
text-shadow: 1px 1px 7px #000;
}
</style>
</head><body bgcolor="#000">
<table width="100%" height="100%">
<tbody><tr><td align="center">
<br>
<img src="https://www.resimag.com/p1/17bcbbfe13.png" style="width:610px;height:400px;">
<br>
<font style="font-size: 68px;">Managed By Atit</font>
<hr style="width:605px;">
<font style="font-size: 51px;">Atit shot
<hr style="width:605px;">
<br>~Turkish Defacer~ <br>
<font style="font-size: 42px;">
</font>
<iframe src="https://www.youtube.com/embed/Oz-LAA1mGoc?autoplay=1" allowfullscreen="" width="0" height="0" frameborder="0"></iframe>
</font></td></tr></tbody></table>
</body></html>
Tuesday, November 19, 2019
How to retrive the latest post from two category in wordpress?
<?php
$query = new WP_Query(
array(
'category__in' => array(25,26),
'posts_per_page' => 1,
'post_type' => 'post',
'order'=>'DESC'
)
);
if ( $query->have_posts() ) {
while ( $query->have_posts() ) {
$query->the_post();
?>
<div class="next">
<figure class="cap-figure m-b-20">
<?php the_post_thumbnail('test'); ?>
<!-- <p class="artha-postion bg-blue"><?php echo get_cat_name(26); ?></p> -->
</figure>
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
</div>
<?php } } wp_reset_query(); ?>
$query = new WP_Query(
array(
'category__in' => array(25,26),
'posts_per_page' => 1,
'post_type' => 'post',
'order'=>'DESC'
)
);
if ( $query->have_posts() ) {
while ( $query->have_posts() ) {
$query->the_post();
?>
<div class="next">
<figure class="cap-figure m-b-20">
<?php the_post_thumbnail('test'); ?>
<!-- <p class="artha-postion bg-blue"><?php echo get_cat_name(26); ?></p> -->
</figure>
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
</div>
<?php } } wp_reset_query(); ?>
Wednesday, November 13, 2019
how to retrive subcategory in wordpress?
<?php
$subcategories = get_categories('&child_of=6&hide_empty');
echo '<ul>';
foreach ($subcategories as $subcategory) {
echo sprintf('<li><a href="%s">%s</a></li>', get_category_link($subcategory->term_id), apply_filters('get_term', $subcategory->name));
}
echo '</ul>';
?>
$subcategories = get_categories('&child_of=6&hide_empty');
echo '<ul>';
foreach ($subcategories as $subcategory) {
echo sprintf('<li><a href="%s">%s</a></li>', get_category_link($subcategory->term_id), apply_filters('get_term', $subcategory->name));
}
echo '</ul>';
?>
Monday, November 11, 2019
seo
https://www.matthewwoodward.co.uk/
1. Nich Research
2.Keyword Rearch
3.Qulity backlinks from broken links
4.Expired Domain
5.On page seo
6. Off -page seo
7.Passing link jiuce using 3 tier method
8.Profiling.
9.http://www.dropmylink.com/auth/register
10.Competitor research
http://www.dropmylink.com/auth/register
1. Nich Research
2.Keyword Rearch
3.Qulity backlinks from broken links
4.Expired Domain
5.On page seo
6. Off -page seo
7.Passing link jiuce using 3 tier method
8.Profiling.
9.http://www.dropmylink.com/auth/register
10.Competitor research
http://www.dropmylink.com/auth/register
Sunday, November 10, 2019
.htaccess file to make webpage downloadable
# BEGIN WordPress
# END WordPress
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php56” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php56 .php .php5 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
.user.ini
; cPanel-generated php ini directives, do not edit
; Manual editing of this file may result in unexpected behavior.
; To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
; For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
[PHP]
display_errors = On
max_execution_time = 90
max_input_time = 90
max_input_vars = 1000
memory_limit = 256M
post_max_size = 28M
session.gc_maxlifetime = 1440
session.save_path = "/var/cpanel/php/sessions/ea-php72"
upload_max_filesize = 1M
zlib.output_compression = Off
; Manual editing of this file may result in unexpected behavior.
; To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
; For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
[PHP]
display_errors = On
max_execution_time = 90
max_input_time = 90
max_input_vars = 1000
memory_limit = 256M
post_max_size = 28M
session.gc_maxlifetime = 1440
session.save_path = "/var/cpanel/php/sessions/ea-php72"
upload_max_filesize = 1M
zlib.output_compression = Off
html file to download insted of displaying page in .htaccess file
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php7_module>
php_flag display_errors On
php_value max_execution_time 90
php_value max_input_time 90
php_value max_input_vars 1000
php_value memory_limit 256M
php_value post_max_size 28M
php_value session.gc_maxlifetime 1440
php_value session.save_path "/var/cpanel/php/sessions/ea-php72"
php_value upload_max_filesize 1M
php_flag zlib.output_compression Off
</IfModule>
<IfModule lsapi_module>
php_flag display_errors On
php_value max_execution_time 90
php_value max_input_time 90
php_value max_input_vars 1000
php_value memory_limit 256M
php_value post_max_size 28M
php_value session.gc_maxlifetime 1440
php_value session.save_path "/var/cpanel/php/sessions/ea-php72"
php_value upload_max_filesize 1M
php_flag zlib.output_compression Off
</IfModule>
# END cPanel-generated php ini directives, do not edit
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php73” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php73 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
Monday, November 4, 2019
Keyword research
Sunday, November 3, 2019
Subscribe to:
Posts (Atom)
Featured Post
Make money online
https://www.wpbeginner.com/beginners-guide/make-money-online/?fbclid=IwAR0_9_5aHmbB4rDisaPevdnO4uAgo0N9heHgPu1TjerjurE5ilD2NyzeB2A
Popular Posts
-
DALCHOKI AS "BHEDETAAR" OF KATHMANDU Dalchoki is a village development committee in Lalitpur District in the Bagmati Zone of Ce...