Title: colophonius's Replies | WordPress.org

---

# colophonius

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] Deleted ngg tables from database](https://wordpress.org/support/topic/deleted-ngg-tables-from-database/)
 *  Thread Starter [colophonius](https://wordpress.org/support/users/colophonius/)
 * (@colophonius)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/deleted-ngg-tables-from-database/#post-4362578)
 * Hi,
 * Thanks I already solved the problem by uploading the not working tables again
   and then emptying them, which just rested them so it acted then like I fresh 
   installed Plugin and then I did as you suggested and copied everything manually…
 * Took some time wasn’t to bad and I fixed a few things….
 * Thanks anyways!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Shortcodes don't work in Posts](https://wordpress.org/support/topic/shortcodes-dont-work-in-posts/)
 *  Thread Starter [colophonius](https://wordpress.org/support/users/colophonius/)
 * (@colophonius)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/shortcodes-dont-work-in-posts/#post-3957185)
 * nevermind, i solved it….
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Showing posts on pages depending on category/page name](https://wordpress.org/support/topic/showing-posts-on-pages-depending-on-categorypage-name/)
 *  Thread Starter [colophonius](https://wordpress.org/support/users/colophonius/)
 * (@colophonius)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/showing-posts-on-pages-depending-on-categorypage-name/#post-3937337)
 * I did it!
    So here is the code that worked for me:
 *     ```
       <?php
       // The Query
       $the_query = new WP_Query( 'category_name='. get_the_title( $query2->post->ID ) . '&echo=0'  );
   
       // The Loop
       while ( $the_query->have_posts() ) {
       	$the_query->the_post();
       	echo '<li>' . get_the_content() . '</li>';
       }
   
       /* Restore original Post Data
        * NB: Because we are using new WP_Query we aren't stomping on the
        * original $wp_query and it does not need to be reset.
       */
       wp_reset_postdata();
   
       ?>
       <?php get_footer(); ?>
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Showing posts on pages depending on category/page name](https://wordpress.org/support/topic/showing-posts-on-pages-depending-on-categorypage-name/)
 *  Thread Starter [colophonius](https://wordpress.org/support/users/colophonius/)
 * (@colophonius)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/showing-posts-on-pages-depending-on-categorypage-name/#post-3937334)
 * I’d say its the secondary loop outside the main loop. But thats just a guess:
 *     ```
       <?php get_header(); ?>
       <link href="style.php" rel="stylesheet" type="text/css" />
   
           <div id="blog" class="shadow">
               <?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
   
               <div class="post">
   
                   <div class="entry">
                   <?php the_content(); ?>
                   </div>
   
               </div>
   
       <?php endwhile; ?>
   
           <div class="navigation">
               <?php posts_nav_link(); ?>
           </div>
   
       <?php endif; ?>
       </div>
   
       <div id="post">
   
        </div>
       <?php
       // The Query
       $the_query = new WP_Query( 'category_name=binnen'  );
   
       // The Loop
       while ( $the_query->have_posts() ) {
       	$the_query->the_post();
       	echo '<li>' . get_the_content() . '</li>';
       }
   
       /* Restore original Post Data
        * NB: Because we are using new WP_Query we aren't stomping on the
        * original $wp_query and it does not need to be reset.
       */
       wp_reset_postdata();
   
       ?>
       <?php get_footer(); ?>
       ```
   
 * Thats the whole page.php
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Showing posts on pages depending on category/page name](https://wordpress.org/support/topic/showing-posts-on-pages-depending-on-categorypage-name/)
 *  Thread Starter [colophonius](https://wordpress.org/support/users/colophonius/)
 * (@colophonius)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/showing-posts-on-pages-depending-on-categorypage-name/#post-3937313)
 * I think i got it working now with this code:
 *     ```
       <?php
       // The Query
       $the_query = new WP_Query( 'category_name=binnen'  );
   
       // The Loop
       while ( $the_query->have_posts() ) {
       	$the_query->the_post();
       	echo '<li>' . get_the_content() . '</li>';
       }
   
       /* Restore original Post Data
        * NB: Because we are using new WP_Query we aren't stomping on the
        * original $wp_query and it does not need to be reset.
       */
       wp_reset_postdata();
   
       ?>
       <?php get_footer(); ?>
       ```
   
 * But I still dont know what to fill in after ‘category_name=’ to get it variable
   and responding to the page title.
    I know I could creat a own templat for each
   page. But I’d prefer a automated solution…
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Showing posts on pages depending on category/page name](https://wordpress.org/support/topic/showing-posts-on-pages-depending-on-categorypage-name/)
 *  Thread Starter [colophonius](https://wordpress.org/support/users/colophonius/)
 * (@colophonius)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/showing-posts-on-pages-depending-on-categorypage-name/#post-3937308)
 * ok. I’ll try that…
    Thanks for your help!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Showing posts on pages depending on category/page name](https://wordpress.org/support/topic/showing-posts-on-pages-depending-on-categorypage-name/)
 *  Thread Starter [colophonius](https://wordpress.org/support/users/colophonius/)
 * (@colophonius)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/showing-posts-on-pages-depending-on-categorypage-name/#post-3937296)
 * Yes, but I don’t really understand it and I would need to engage my self with
   all this to really dig it. And I didn’t have the time to do so yet.
    So I figured
   to ask here.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Showing posts on pages depending on category/page name](https://wordpress.org/support/topic/showing-posts-on-pages-depending-on-categorypage-name/)
 *  Thread Starter [colophonius](https://wordpress.org/support/users/colophonius/)
 * (@colophonius)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/showing-posts-on-pages-depending-on-categorypage-name/#post-3937288)
 * it says that:
 * > Fatal error: Call to undefined function WP_Query() in /homepages/16/d163559452/
   > htdocs/5435oe/wp-content/themes/kiekoever/page.php on line 26
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Showing posts on pages depending on category/page name](https://wordpress.org/support/topic/showing-posts-on-pages-depending-on-categorypage-name/)
 *  Thread Starter [colophonius](https://wordpress.org/support/users/colophonius/)
 * (@colophonius)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/showing-posts-on-pages-depending-on-categorypage-name/#post-3937286)
 * So that would be the new code
 *     ```
       <?php WP_Query('category_name=straminke-eins'); ?>
       <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
       <?php the_ID(); ?>
       <?php if ( function_exists('jr_post_image') ) { jr_post_image($id); } ?>
       <?php the_date('F Y'); ?>
       <a href="<?php the_permalink()?>"><?php the_title()?></a>
       <?php the_excerpt(); ?>
       <?php endwhile; endif; ?>
       ```
   
 * But it creates an error…
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Showing posts on pages depending on category/page name](https://wordpress.org/support/topic/showing-posts-on-pages-depending-on-categorypage-name/)
 *  Thread Starter [colophonius](https://wordpress.org/support/users/colophonius/)
 * (@colophonius)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/showing-posts-on-pages-depending-on-categorypage-name/#post-3937258)
 * Hey esmi,
 * Thanks for the quick response.
    Could you post here how it’s done, because I 
   honestly have no clue… And would that solve my problem?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [style wp_page_menu](https://wordpress.org/support/topic/style-wp_page_menu/)
 *  Thread Starter [colophonius](https://wordpress.org/support/users/colophonius/)
 * (@colophonius)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/style-wp_page_menu/#post-3934416)
 * I resolved it by `adding &menu_class=nav`. wherenav is the css class.
    So, it
   now looks like this: `<?php $html = wp_page_menu('menu_class=nav&title_li=&child_of
   ='.$post->ID. '&echo=0' ); echo $html; ?>`
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [style wp_page_menu](https://wordpress.org/support/topic/style-wp_page_menu/)
 *  Thread Starter [colophonius](https://wordpress.org/support/users/colophonius/)
 * (@colophonius)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/style-wp_page_menu/#post-3934388)
 * Yes! Sorry I should have explained that better!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Events Manager] Show Categories on Events Page / Link to Location URL](https://wordpress.org/support/topic/plugin-events-manager-show-categories-on-events-page-link-to-location-url/)
 *  Thread Starter [colophonius](https://wordpress.org/support/users/colophonius/)
 * (@colophonius)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-events-manager-show-categories-on-events-page-link-to-location-url/#post-2494261)
 * Hi it’s me again.
 * Now i solved pretty every thing concerning this plugin, but still i didn’t found
   out how to change the lables in the admin panel. So it’s easier to use as CMS
   system. So i would not have to explain it every new member where to edit what.
   I’d like it to be self-explanatory…
 * So I’d like “Categeroy” to show “Artist”. And in the Location area to change “
   Region” to “Website” and “Postcode” to “Phone-Number”.
 * Now, you (agelonwl) said i could use filters. But have no clue how to edit these
   filters.
 * So if anyone could say me how to get this done, i’d be very thankfull!
    (if there
   is a way without filters it’s ok as well! I just want it to work!)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [move wordpress to root](https://wordpress.org/support/topic/move-wordpress-to-root/)
 *  Thread Starter [colophonius](https://wordpress.org/support/users/colophonius/)
 * (@colophonius)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/move-wordpress-to-root/#post-2503463)
 * ok!
 * i try it and hope evrythings wents well!
 * thanks…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Events Manager] use different date format in Headline / disable tag-lin](https://wordpress.org/support/topic/plugin-events-manager-use-different-date-format-in-headline-disable-tag-lin/)
 *  Thread Starter [colophonius](https://wordpress.org/support/users/colophonius/)
 * (@colophonius)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-events-manager-use-different-date-format-in-headline-disable-tag-lin/#post-2502289)
 * this seems to be the better solutions. if the update overwrites the other one.
   
   so this is what i did: `[events_list_grouped mode="monthly" date_format="F Y"]`
 * and it works!
 * thank you guys alot!

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

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