Dev Danidhariya
Forum Replies Created
-
Forum: Plugins
In reply to: [YUZO] Related posts plugin hides “Uploaded to this post” option- Go to plugin directory yuzo-related-post/assets/ilenframework/core.php
- Comment line 4936
@ilen please fix this issue in next version.
Please share code or url.
Forum: Plugins
In reply to: [Goo.gl] Not Working.it working fine in live.
But not working in Local.Thanks to Make good plugin.
Forum: Fixing WordPress
In reply to: Post redirectingHello Friends,
in your site any where like this type of code.
find this type code and remove.$category = get_the_category(); $category_id = $category[0]->cat_ID; $relocate = get_category_link($category_id); wp_redirect($relocate); OR header("Location:".$relocate);
Regards
Dev.Forum: Fixing WordPress
In reply to: Post redirectingDear Penny,
Redirect is possible using this method.
i).htaccess
ii)redirecting plugin.
iii)custom redirect code in theme,plugin,any where in wordpress.(in theme most code written in function.php file).in your case possible solution is try this.
i)edit post slug.(Like a-good-man to my-test-post-man).
ii)change permalink and test.
iii)final solution is create new post and add this post contained in this post.Regards
Dev.Forum: Fixing WordPress
In reply to: Post redirectingDear Penny.
can you give me live url.so, i can see.
Regards
Dev.Forum: Fixing WordPress
In reply to: How can I create a category listing page?Dear learning_bee15,
u can do using Custom Page Template.
in your active theme folder.task-1
i)creat Custom Page Template.<?php /** * Template Name: Category Listing Page */ get_header(); ?> <select name="cat-dropdown" > <option value=""><?php echo esc_attr(__('Select category')); ?></option> <?php $categories = get_categories(); foreach ($categories as $category) { $option = '<option value="'.$category->cat_name.'">'; $option .= $category->cat_name; $option .= '</option>'; echo $option; } ?> </select> <?php get_footer(); ?>
task -2
i)go wp-admin.
ii)pages ->add new
ii)Page Attributes -> Template
select Category Listing Page Template
iii)Publish.Enjoy..!
Best Regards
dev danidhariya.Forum: Fixing WordPress
In reply to: Post redirectingDear Penny,
i’m not sure but try this.
i)disabled your .htaccess file(remove or rename. Please take backup before).
Forum: Fixing WordPress
In reply to: How to change logo urlDear sjaakspaak,
can your please paste your menu.php file code.
Best Regards,
dev.Read this page.may be usefull.
https://www.wpbeginner.com/wp-tutorials/how-to-change-the-default-media-upload-location-in-wordpress-3-5/=>in wp admin panel setting->Media
uploading Files uncheckRegards.
DevForum: Fixing WordPress
In reply to: Displaying Ads After Every Three PostsDear MattWC.
Try This.<?php $args = array( 'posts_per_page' => -1, 'offset'=> 1); $myposts = get_posts( $args ); $count = 1; foreach ( $myposts as $post ) { if($count == 3){ //Ad Code Here $count = 0; } $count ++; the_title(); } wp_reset_postdata(); ?>
Regards,
DevForum: Fixing WordPress
In reply to: Error to upload imagesDear Dark6425.
Yes,i Think problem in file permission.
please Give The File permissions like this./wp-content/uploads
755Regards,
Dev.Forum: Fixing WordPress
In reply to: is_home && is_category not working?Dear loulantos.
are you Sure category ID 8 is in u r category list.Forum: Fixing WordPress
In reply to: How to change link of a page?Dear 4ryangr8,
Following Step
i)Go Wp-admin
ii)Go appearance ->menus.
iii)Go links
Url:http//support.mydomain.com
link text:ur page name to display in site.
click Add to menu.
iv)this page show in right side.
v)click save menuRegards,
Dev DanidhariyaForum: Fixing WordPress
In reply to: How to change logo urldear sannemeijboom.
u go in ur themes folder and open header.php file.
line number 24<h1 id="logo"> <img src="<?php echo bloginfo('template_directory'); ?>/img/logos/<?php echo get_option('organic_theme_logo'); ?>.gif" class="small-logo" alt="logo" width="40" height="40" /> <strong><a href="<?php bloginfo('url'); ?>/"></strong> <?php bloginfo('name'); ?> </a> </h1>
<a href="https://www.example.com"></a>
this tag in href to add ur url.