resw
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Photo Album Plus] Slider not working after shortcode conversionHi Jacob,
Thanks for your reply. Indeed it has a lot of typeerrors… i don’t know where they vame from. As said beford this happened after converting (automaticaly) the codes. Is there an ‘easy way out’ of easy way to fix this problem? I’m a bit of a js noob and more the visual designer 🙁
Forum: Plugins
In reply to: [Post Types Order] Post Type Order Stops Random Header Image ShowingI fixed that last one. Got the site running again but now the sidebar images are still fixed but flipped around from back to front. ? LOL. I think i will need some serious lessons first.
Forum: Plugins
In reply to: [Post Types Order] Post Type Order Stops Random Header Image ShowingPfff. One thing i did find out, i’m not as stupid as i thought. I found (with Dreamweaver!) all the query, altered them by adding ‘orderby’ => ‘menu_order’, <—–with the comma!.
Saved it all, dropped it in with filezilla and he presto, this is what my screen said…Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ‘)’ in /public/sites/www.rentadesigner.info/wp-content/themes/architekttheme/functions.php on line 363
Still not working…
should i give up? ~_~Forum: Plugins
In reply to: [Post Types Order] Post Type Order Stops Random Header Image ShowingI wish it was simple and it probably is. But i think i just don’t get it… I’m also more a copy/paste ‘builder’. :S
I tried adding the ‘orderby’ => ‘menu_order’ in the sidebar.php and it looked something like this:<?php /* Template Name: Portfolio */ ?> <?php get_header(); ?> <div id="single_container"> <?php $args = array( 'category_name' => 'portfolio', 'post_type' => 'post', 'posts_per_page' => 21, 'orderby' => 'menu_order' 'paged' => ( get_query_var('paged') ? get_query_var('paged') : 1), ); query_posts($args); $x = 0; while (have_posts()) : the_post(); ?> <?php if($x == 2) { ?> <div class="port_box port_box_last"> <?php } else { ?> <div class="port_box"> <?php } ?> <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('featured-port-listing'); ?></a> <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3> </div><!--//port_box--> <?php if($x == 2) { echo '<div class="clear"></div><div class="port_box_divider"></div>'; $x = -1; } ?> <?php $x++; ?> <?php endwhile; ?> <div class="clear"></div> <div class="navigation"> <div class="left"><?php previous_posts_link('« Previous') ?></div> <div class="right"><?php next_posts_link('Next »') ?></div> <div class="clear"></div> </div><!--//nagivation--> <?php wp_reset_query(); ?> <div class="clear"></div> </div><!--//single_container--> <?php get_footer(); ?>Is this the right place to add it? Or did i have to put it somewhere else/instead of something else? And, next question where else? In every php file? I’m a dreamweaver dummy so adding it manually in the WP editor is somewhat easier for me.