Title: DsNL's Replies | WordPress.org

---

# DsNL

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

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

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Order Export For WooCommerce] Can’t find exported file](https://wordpress.org/support/topic/cant-find-exported-file/)
 *  Thread Starter [DsNL](https://wordpress.org/support/users/dsnl/)
 * (@dsnl)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/cant-find-exported-file/#post-13134653)
 * I get a 500 error when i use “Export w/o progress”. I’ve checked the logs again
   and i saw a warning from the wp_options table. I’ve repaired that table and now
   it seems to works fine.
 * Thanks for your quick reply.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] Translate custom-post-type slug](https://wordpress.org/support/topic/translate-custom-post-type-slug-1/)
 *  Thread Starter [DsNL](https://wordpress.org/support/users/dsnl/)
 * (@dsnl)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/translate-custom-post-type-slug-1/#post-6946570)
 * Anyone? Or maybe just like an htaccess workaround?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [the_content inside menu](https://wordpress.org/support/topic/the_content-inside-menu/)
 *  Thread Starter [DsNL](https://wordpress.org/support/users/dsnl/)
 * (@dsnl)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/the_content-inside-menu/#post-3435037)
 * Sure no problem:
 * There you go the php part:
 *     ```
       <nav id="menu">
        <?php
           $args = array(
           'menu'            => 'mainmenu',
            echo'            => true,
           'fallback_cb'     => 'wp_page_menu',
           'items_wrap'      => '<ul>%3$s</ul>',
           'depth'           => 0
           );
           wp_nav_menu( $args );?>
           <div class="description">
       	<?php if(have_posts()):while(have_posts()):the_post();
       	    the_content();
       	endwhile; endif;?>
           </div>
       </nav>
       ```
   
 * Jquery part:
 * `$(".description").appendTo("li.current-menu-item");`
 * dont forget to put it in the document ready statement.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [the_content inside menu](https://wordpress.org/support/topic/the_content-inside-menu/)
 *  Thread Starter [DsNL](https://wordpress.org/support/users/dsnl/)
 * (@dsnl)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/the_content-inside-menu/#post-3434800)
 * Yes, i’ve nested the standard wordpress loop inside of the jquery. Using appendTo
   feels a bit like cheating, how do you think about that?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [the_content inside menu](https://wordpress.org/support/topic/the_content-inside-menu/)
 *  Thread Starter [DsNL](https://wordpress.org/support/users/dsnl/)
 * (@dsnl)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/the_content-inside-menu/#post-3434708)
 * After hours of searching and just aksing my question here, i’ve found a solution,
   but i’m not sure if it’s the corrent way. I render my content using the_content,
   after that i use appendTo to move the content to my current-menu-item.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Show category in custom post type](https://wordpress.org/support/topic/show-category-in-custom-post-type/)
 *  Thread Starter [DsNL](https://wordpress.org/support/users/dsnl/)
 * (@dsnl)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/show-category-in-custom-post-type/#post-3420873)
 *     ```
       I've fixed it:
       $args = array(
       	'post_type' => 'portfolio',
       	'portfolio-cats' => 'home',
       	'numberposts' => 10,
       	'orderby' => 'ASC',
       	);
       ```
   

Viewing 6 replies - 1 through 6 (of 6 total)