<?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(); ?>
Tuesday, November 19, 2019
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
Sunday, October 20, 2019
amazon affiliate sites
https://www.udemy.com/course/seo-complete-guide-to-building-amazon-affiliate-sites/?fbclid=IwAR0h5xLRSwYmja_qWabqoOklmtZbDylghHP3zLfJDFXxgxl28dTUy8-mh5M&moon=tethys&utm_campaign=ROW-FB-PROS-DPA-ROW-Smartly-EN-ALL_._ci__._sl_ALL_._vi__._sd_All_._la_EN_._&utm_content=_._pd_657590_._&utm_medium=udemyads&utm_source=facebook&utm_term=_._ag_row_highest_value_customer_19h1_non_cp_lal_1_._ad_6153393601288_._
https://devrix.com/tutorial/find-low-competition-keywords-commercial-intent/
https://mangools.com/blog/keyword-research/
https://nichehacks.com/keyword-research-seo-fast/
https://www.wpbeginner.com/showcase/9-best-wordpress-seo-plugins-and-tools-that-you-should-use/?utm_source=pushnotification&utm_medium=onesignal&utm_campaign=blogpush
https://devrix.com/tutorial/find-low-competition-keywords-commercial-intent/
https://mangools.com/blog/keyword-research/
https://nichehacks.com/keyword-research-seo-fast/
https://www.wpbeginner.com/showcase/9-best-wordpress-seo-plugins-and-tools-that-you-should-use/?utm_source=pushnotification&utm_medium=onesignal&utm_campaign=blogpush
Monday, October 14, 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...