colophonius
Forum Replies Created
-
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
In reply to: Shortcodes don't work in Postsnevermind, i solved it….
Forum: Themes and Templates
In reply to: Showing posts on pages depending on category/page nameI 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
In reply to: Showing posts on pages depending on category/page nameI’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
In reply to: Showing posts on pages depending on category/page nameI 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
In reply to: Showing posts on pages depending on category/page nameok. I’ll try that…
Thanks for your help!Forum: Themes and Templates
In reply to: Showing posts on pages depending on category/page nameYes, 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
In reply to: Showing posts on pages depending on category/page nameit 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
In reply to: Showing posts on pages depending on category/page nameSo 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
In reply to: Showing posts on pages depending on category/page nameHey 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
In reply to: style wp_page_menuI 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
In reply to: style wp_page_menuYes! Sorry I should have explained that better!
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
In reply to: move wordpress to rootok!
i try it and hope evrythings wents well!
thanks…
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!