Title: dev_danidhariya's Replies | WordPress.org

---

# dev_danidhariya

  [  ](https://wordpress.org/support/users/dev_danidhariya/)

 *   [Profile](https://wordpress.org/support/users/dev_danidhariya/)
 *   [Topics Started](https://wordpress.org/support/users/dev_danidhariya/topics/)
 *   [Replies Created](https://wordpress.org/support/users/dev_danidhariya/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/dev_danidhariya/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/dev_danidhariya/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/dev_danidhariya/engagements/)
 *   [Favorites](https://wordpress.org/support/users/dev_danidhariya/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 27 total)

1 [2](https://wordpress.org/support/users/dev_danidhariya/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/dev_danidhariya/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YUZO] Related posts plugin hides “Uploaded to this post” option](https://wordpress.org/support/topic/related-posts-plugin-hides-uploaded-to-this-post-option/)
 *  [dev_danidhariya](https://wordpress.org/support/users/dev_danidhariya/)
 * (@dev_danidhariya)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/related-posts-plugin-hides-uploaded-to-this-post-option/#post-10064647)
    - Go to plugin directory yuzo-related-post/assets/ilenframework/core.php
    - Comment line 4936
 * [@ilen](https://wordpress.org/support/users/ilen/) please fix this issue in next
   version.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Disable Visual Editor WYSIWYG] Unable to remove html tags while sharing a post in facebook](https://wordpress.org/support/topic/unable-to-remove-html-tags-while-sharing-a-post-in-facebook/)
 *  [dev_danidhariya](https://wordpress.org/support/users/dev_danidhariya/)
 * (@dev_danidhariya)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/unable-to-remove-html-tags-while-sharing-a-post-in-facebook/#post-8570948)
 * Please share code or url.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Goo.gl] Not Working.](https://wordpress.org/support/topic/not-working-1885/)
 *  Thread Starter [dev_danidhariya](https://wordpress.org/support/users/dev_danidhariya/)
 * (@dev_danidhariya)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/not-working-1885/#post-8570933)
 * it working fine in live.
    But not working in Local.
 * Thanks to Make good plugin.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Post redirecting](https://wordpress.org/support/topic/post-redirecting/)
 *  [dev_danidhariya](https://wordpress.org/support/users/dev_danidhariya/)
 * (@dev_danidhariya)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/post-redirecting/#post-6838552)
 * Hello 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](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Post redirecting](https://wordpress.org/support/topic/post-redirecting/)
 *  [dev_danidhariya](https://wordpress.org/support/users/dev_danidhariya/)
 * (@dev_danidhariya)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/post-redirecting/#post-6838456)
 * Dear 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](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Post redirecting](https://wordpress.org/support/topic/post-redirecting/)
 *  [dev_danidhariya](https://wordpress.org/support/users/dev_danidhariya/)
 * (@dev_danidhariya)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/post-redirecting/#post-6838374)
 * Dear Penny.
 * can you give me live url.so, i can see.
 * Regards
    Dev.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How can I create a category listing page?](https://wordpress.org/support/topic/how-can-i-create-a-category-listing-page-1/)
 *  [dev_danidhariya](https://wordpress.org/support/users/dev_danidhariya/)
 * (@dev_danidhariya)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/how-can-i-create-a-category-listing-page-1/#post-6837106)
 * 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](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Post redirecting](https://wordpress.org/support/topic/post-redirecting/)
 *  [dev_danidhariya](https://wordpress.org/support/users/dev_danidhariya/)
 * (@dev_danidhariya)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/post-redirecting/#post-6838323)
 * Dear Penny,
 * i’m not sure but try this.
 * i)disabled your .htaccess file(remove or rename. **Please take backup before**).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to change logo url](https://wordpress.org/support/topic/how-to-change-logo-url-1/)
 *  [dev_danidhariya](https://wordpress.org/support/users/dev_danidhariya/)
 * (@dev_danidhariya)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/how-to-change-logo-url-1/#post-5933892)
 * Dear sjaakspaak,
 * can your please paste your **menu.php** file code.
 * Best Regards,
    dev.
 *   Forum: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
   
   In reply to: [Live to Localhost, images point to correct localhost server, but wrong folder?](https://wordpress.org/support/topic/live-to-localhost-images-point-to-correct-localhost-server-but-wrong-folder/)
 *  [dev_danidhariya](https://wordpress.org/support/users/dev_danidhariya/)
 * (@dev_danidhariya)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/live-to-localhost-images-point-to-correct-localhost-server-but-wrong-folder/#post-6791729)
 * Read this page.may be usefull.
    [http://www.wpbeginner.com/wp-tutorials/how-to-change-the-default-media-upload-location-in-wordpress-3-5/](http://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 uncheck**
 * Regards.
    Dev
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Displaying Ads After Every Three Posts](https://wordpress.org/support/topic/displaying-ads-after-every-three-posts/)
 *  [dev_danidhariya](https://wordpress.org/support/users/dev_danidhariya/)
 * (@dev_danidhariya)
 * [11 years ago](https://wordpress.org/support/topic/displaying-ads-after-every-three-posts/#post-6077856)
 * Dear 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,
    Dev
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Error to upload images](https://wordpress.org/support/topic/error-to-upload-images/)
 *  [dev_danidhariya](https://wordpress.org/support/users/dev_danidhariya/)
 * (@dev_danidhariya)
 * [11 years ago](https://wordpress.org/support/topic/error-to-upload-images/#post-6080016)
 * Dear Dark6425.
    Yes,i Think problem in file permission. please Give The File 
   permissions like this.
 * **/wp-content/uploads
    755
 * Regards,
    Dev.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [is_home && is_category not working?](https://wordpress.org/support/topic/is_home-is_category-not-working/)
 *  [dev_danidhariya](https://wordpress.org/support/users/dev_danidhariya/)
 * (@dev_danidhariya)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/is_home-is_category-not-working/#post-5966840)
 * Dear loulantos.
    are you Sure category ID 8 is in u r category list.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to change link of a page?](https://wordpress.org/support/topic/how-to-change-link-of-a-page/)
 *  [dev_danidhariya](https://wordpress.org/support/users/dev_danidhariya/)
 * (@dev_danidhariya)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/how-to-change-link-of-a-page/#post-5966836)
 * 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
   menu**
 * Regards,
    Dev Danidhariya
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to change logo url](https://wordpress.org/support/topic/how-to-change-logo-url-1/)
 *  [dev_danidhariya](https://wordpress.org/support/users/dev_danidhariya/)
 * (@dev_danidhariya)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/how-to-change-logo-url-1/#post-5933580)
 * dear 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="http://www.example.com"></a>`this tag in href to add ur url.

Viewing 15 replies - 1 through 15 (of 27 total)

1 [2](https://wordpress.org/support/users/dev_danidhariya/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/dev_danidhariya/replies/page/2/?output_format=md)