Bucki
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Change CALENDAR language?!… how come then, when changing the WordPress
main language , then it will also change the calendar namings into that particular language ?!Forum: Fixing WordPress
In reply to: Change CALENDAR language?!the thame name is BROADWAY.
No the calendar is not translated cos the dates are shown asOctober 8th, 2012
plssssssssssssssss
ANYONE PLSSSSSSS
Forum: Fixing WordPress
In reply to: New to WordPress – Some Question to Askoh sure??
I read somewhere that this does the trick:
<?php $numposts = get_option('posts_per_page'); ?> <?php $wp_query = new WP_Query('cat=20&showposts=3'.$numposts.'&paged='.$paged); ?> <?php if($wp_query->have_posts()) : while($wp_query->have_posts()) : $wp_query->the_post(); ?>but that did not work
Forum: Fixing WordPress
In reply to: New to WordPress – Some Question to AskThis did the trick 🙂
<?php $blog = new wp_Query('cat=20&showposts=3'.$numposts.'&paged='.$paged); ?>However, now the Previous and Next links, display different category instead of remaining and showing the next/previous posts of that particular category!
🙁 any idea?
This is the code responsible for previous / next (I think)
<?php if ($blog->have_posts()) : while ($blog->have_posts()) : $blog->the_post(); ?>Forum: Fixing WordPress
In reply to: New to WordPress – Some Question to AskGov
now, I know about CATEGORIES
However, I want to create my own .php themeand using the blog.php (see script above) to improve it so it shows posts from specific category. Not sure if u understand me
Forum: Fixing WordPress
In reply to: New to WordPress – Some Question to Askhmmmmmm 🙁
I tried combining something from here:
http://codex.wordpress.org/Class_Reference/WP_Querybut no luck … pls if someone knows, let me know
Thanks
Forum: Fixing WordPress
In reply to: New to WordPress – Some Question to Askgovpatel – yess that worked 😀
Just for u to have a look at;
this is the current BLOG.PHP scriptNow I copied it and renamed it Science.php
Trying to figure out which code specifies, where it fetches
the posts from, and wanting to make it so it only takes posts from
a specific category or multiple ones…<?php // Template Name: Blog get_header(); ?> <!-- BEGIN MAIN --> <div id="main"> <div class="homepage-widget"> <div class="block full archive clearfix"> <h3> <?php _e('Blog', 'Broadway'); ?> <span></span> </h3> <div class="block-content clearfix"> <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; ?> <?php $blog = new WP_Query('showposts=5'.'&paged='.$paged); ?> <?php if ($blog->have_posts()) : while ($blog->have_posts()) : $blog->the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?>> <?php if(has_post_thumbnail()): ?> <div class="block-image"> <div class="post-thumb-container clearfix"> <?php if(has_post_format('video') || has_post_format('audio') || has_post_format('gallery')) { $icon = '<span class="post-format-big ' . get_post_format($post->ID) . '"></span>'; } else { $icon = ''; } echo $icon; ?> <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" class="post-thumbnail"> <?php the_post_thumbnail('archive-image', array('alt' => get_the_title(), 'title' => get_the_title())); ?> </a> <?php if(get_post_meta($post->ID, 'pyre_overall_score', true)): ?> <div class="post-score"><img src="<?php bloginfo('template_directory'); ?>/images/stars/<?php echo get_post_meta($post->ID, 'pyre_overall_score', true); ?>.png" alt="" /></div> <?php endif; ?> </div> </div> <?php endif; ?> <div class="post-content"> <h2><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><?php the_title(); ?></a></h2> <p class="post-meta"><?php the_time('F jS, Y'); ?>, by <?php the_author_posts_link(); ?></p> <p class="post-excerpt"><?php echo string_limit_words(get_the_excerpt(), 16); ?> ...</p> <a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>' class="readmore orange-button"><?php _e('Read More', 'Broadway'); ?></a> </div> </div> <?php endwhile; endif; ?> </div> <?php kriesi_pagination($blog->max_num_pages, $range = 2); ?> </div> </div> </div> <!-- END MAIN --> <?php get_sidebar(); ?> <?php get_footer(); ?>Forum: Fixing WordPress
In reply to: New to WordPress – Some Question to Askyeh I managed to make the SUBmenu 🙂
but just wondered how to remove the http link for specific menuexample, i want to display
Science <<< this one should have NO link whatsoever
– Technology
– ElectronicsForum: Fixing WordPress
In reply to: New to WordPress – Some Question to Askso you are saying, I cant seek help in here
regards to my other questions?