EM4NU3L3
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Help – Title list of posts of a specific category.Quite Solved
This one works:<?php /** * Template Name: Exhibitions Posts */ get_header(); ?> <?php query_posts('cat=11&showposts=5'); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php endwhile; endif; ?> <div id="primary"> <div id="content" role="main"> <?php if ( have_posts() ) : ?> <?php toolbox_content_nav( 'nav-above' ); ?> <?php /* Start the Loop */ ?> <?php while ( have_posts() ) : the_post(); ?> <?php /* Include the Post-Format-specific template for the content. * If you want to overload this in a child theme then include a file * called content-___.php (where ___ is the Post Format name) and that will be used instead. */ get_template_part( 'content', get_post_format() ); ?> <?php endwhile; ?> <?php toolbox_content_nav( 'nav-below' ); ?> <?php else : ?> <article id="post-0" class="post no-results not-found"> <header class="entry-header"> <h1 class="entry-title"><?php _e( 'Nothing Found', 'toolbox' ); ?></h1> </header><!-- .entry-header --> <div class="entry-content"> <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'toolbox' ); ?></p> <?php get_search_form(); ?> </div><!-- .entry-content --> </article><!-- #post-0 --> <?php endif; wp_reset_query(); ?> </div><!-- #content --> </div><!-- #primary --> <?php get_sidebar( $name ); ?>And its ok for one of the page that I need.
Now I need, for another cotegory, just the list of the titles of a specific category…Any tips?
Forum: Fixing WordPress
In reply to: Help – Title list of posts of a specific category.Thats way Im still trying to understand. Becouse actually doesnt work!
Is there some options on the wordpress setting that I have to check?What about the first code I posted?
whats wrong?thx
Forum: Fixing WordPress
In reply to: Help – Title list of posts of a specific category.Why this page shows me all the post of all categories?
I need the post just of the categorie slug: 2.
<?php /** * Template Name: Exhibitions Posts */ get_header(); ?> <?php query_posts('category=2&numberposts=5'. get_query_var('paged')); ?> <div id="primary"> <div id="content" role="main"> <?php if ( have_posts() ) : ?> <?php toolbox_content_nav( 'nav-above' ); ?> <?php /* Start the Loop */ ?> <?php while ( have_posts() ) : the_post(); ?> <?php /* Include the Post-Format-specific template for the content. * If you want to overload this in a child theme then include a file * called content-___.php (where ___ is the Post Format name) and that will be used instead. */ get_template_part( 'content', get_post_format() ); ?> <?php endwhile; ?> <?php toolbox_content_nav( 'nav-below' ); ?> <?php else : ?> <article id="post-0" class="post no-results not-found"> <header class="entry-header"> <h1 class="entry-title"><?php _e( 'Nothing Found', 'toolbox' ); ?></h1> </header><!-- .entry-header --> <div class="entry-content"> <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'toolbox' ); ?></p> <?php get_search_form(); ?> </div><!-- .entry-content --> </article><!-- #post-0 --> <?php endif; wp_reset_query(); ?> </div><!-- #content --> </div><!-- #primary --> <?php get_sidebar( $name ); ?>Please help me Im getting crazy!
Im studying alone and its difficoult.Forum: Fixing WordPress
In reply to: Help – Title list of posts of a specific category.Thank you but Im a newby of the php world…
is this correct? doesnt work… so
Could you please explain me whats wrong on this code and on my first code?thx
<?php /* Template Name: List Exhibitions */ get_header(); ?> <div id="primary"> <div id="content" role="main"> <?php while ( have_posts() ) : the_post(); ?> <?php $args = array( 'posts_per_page' => 5, 'offset'=> 1, 'category' => 2 ); $myposts = get_posts( $args ); foreach ( $myposts as $post ) : setup_postdata( $post ); ?> <li> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> </li> <?php endforeach; wp_reset_postdata();?> <?php get_template_part( 'content', 'page' ); ?> <?php endwhile; // end of the loop. ?> </div><!-- #content --> </div><!-- #primary --> <?php get_sidebar( $name ); ?>Forum: Themes and Templates
In reply to: Hide and Manage categories order – Expositio THEMEYes, looks centered but if i change padding is not.
Acually is perfect but the problem are the number of word’s letters you know.where you thought to put:
display: table; margin: 0 auto;?
Forum: Themes and Templates
In reply to: Hide and Manage categories order – Expositio THEMEForum: Themes and Templates
In reply to: Hide and Manage categories order – Expositio THEMEFinally arrived to a good level of customization.
Right now I need to know the best solution to put the menu in the center.
Even if I need to add more pages on my menu.Here a snapshot: http://i46.tinypic.com/2h6etkp.jpg
Here a part of my CSS code:
[Too much code for here – please use pastebin for lengthy code]Forum: Themes and Templates
In reply to: Hide and Manage categories order – Expositio THEMEReally dont know from where I have to start.
How to delete sidebar for example.
How is possible that Toolbox theme has a roots folder full of php files?
Which one I can delete?Actually I need just an header.php that contains “the menu”.
Can you help me or stimulate me?
e
Forum: Themes and Templates
In reply to: Hide and Manage categories order – Expositio THEMEThank you very much! Great! Let’s work… after dinner. 🙂
Keep in touch!E.
Forum: Themes and Templates
In reply to: Hide and Manage categories order – Expositio THEME🙂
Thank you for the suggestion. Photolistic might be good to start.I really need to fit in this theme the “cat layout” that i post before.
Hope im able to delete all the part that I dont need.Is simpler to start write the code from the beginnig?
e.
Forum: Themes and Templates
In reply to: Hide and Manage categories order – Expositio THEMESure. I need a really simple theme. Im not able to find a simple one.
Im Css friendly so I need just sumething that contain a similar layout.Can you help me?
Something like this example:
http://i46.tinypic.com/2ptb21k.jpg
Where the gallery is the main page and the cat image change on the click on the image.
Thank you all
E.Forum: Themes and Templates
In reply to: Hide and Manage categories order – Expositio THEMEAlready checked but unfortunately no solution there.
Thanks