John
Forum Replies Created
-
So is this possible or nor ?
Forum: Plugins
In reply to: Add "Publish" windows to Press This page.Ok don’t bump- but it’s been 2 weeks that I’ve ask this question!
Forum: Fixing WordPress
In reply to: Bottom site map with Portfolio items.No one I guess ??
Forum: Fixing WordPress
In reply to: How to set a order number in 'orderby'.I still can’t make it work ??
Why orderby=date doesn’t simply work ???Forum: Fixing WordPress
In reply to: How to set a order number in 'orderby'.here is the link of the page
Forum: Fixing WordPress
In reply to: How to set a order number in 'orderby'.Does it works with galleries ?
Forum: Fixing WordPress
In reply to: How to set a order number in 'orderby'.noo it does not work either… ??
I try to replace it and I also tried this :
<?php $wp_query->query("post_type=portfolio&". $catinclude ."&paged=".$paged.'&showposts=500&order=ASC'. date( 'n', current_time( 'timestamp' ) )); ?>
But nothing…. ??
The idea is just to have my client able to reorganize the posts in the order she wants. is there any other solution ?Forum: Fixing WordPress
In reply to: How to set a order number in 'orderby'.yes it’s order by title, but I want I want it to be order by date…
Let me try your code right now…(thank you :))
Forum: Fixing WordPress
In reply to: How to set a order number in 'orderby'.No ??
Let’s try again :))))Here is the code :
[code moderated – please use the pastebin]
When I try to orderby=date, it doesn’t work ??
Forum: Fixing WordPress
In reply to: Add paging on the bottomWORKS GREAT!
THANK YOU!with one tiny change, was missing a ” ‘ ” before “cat=12”
Here is the code if it can help someone:
– Showing 10 last post.
– With navigation to older entries.(thanks to wspencer for this code.)
<?php query_posts('posts_per_page=10&paged=' .$paged); ?> <?php while (have_posts()) : the_post(); ?> <div <?php post_class() ?> id="post-<?php the_ID(); ?>"> <h2><?php the_title(); ?></h2> <div class="post-info"> <b><?php the_time('l, d F Y H:i'); ?></b> <div class="post-block"> <?php the_content(); ?> </div> </div> </div> <?php endwhile;?> <?php wp_pagenavi(); ">
Forum: Fixing WordPress
In reply to: Add paging on the bottomHere is the full code :
<?php query_posts('showposts=2'); global $more; $more = 0; ?> <?php while (have_posts()) : the_post(); ?> <div <?php post_class() ?> id="post-<?php the_ID(); ?>"> <h2><?php the_title(); ?></h2> <div class="post-info"> <b><?php the_time('l, d F Y H:i'); ?></b> <div class="post-block"> <?php the_content(); ?> </div> </div> </div> <?php endwhile;?> <?php if(function_exists('wp_pagenavi')) : ?> <?php wp_pagenavi(); ?> <?php else : ?> <?php if ( $wp_query->max_num_pages > 1 ) : ?> <nav class="oldernewer"> <div class="older"> <?php next_posts_link('« Older Entries') ?> </div> <div class="newer"> <?php previous_posts_link('Newer Entries »') ?> </div> </nav> <?php endif; ?> <?php endif; ?>
Forum: Fixing WordPress
In reply to: Add paging on the bottomThank you for your reply!
I have added this but it shows the same posts on every pages ??<?php if(function_exists('wp_pagenavi')) : ?> <?php wp_pagenavi(); ?> <?php else : ?> <?php if ( $wp_query->max_num_pages > 1 ) : ?> <nav class="oldernewer"> <div class="older"> <?php next_posts_link('« Older Entries') ?> </div> <div class="newer"> <?php previous_posts_link('Newer Entries »') ?> </div> </nav> <?php endif; ?> <?php endif; ?>
Forum: Fixing WordPress
In reply to: Static blog page does not work anymore.THANK YOU SO MUCH FOR YOUR TIME!
Even tho you havn’t find the solution you brought me to it.
I’m goig to tell exactly why and what happend.Are you ready ? lol
I HAD A “BLOG” FOLDER ON MY SERVER!
so https://www.creativewhoman.com/blog
would bring it to the folder! Not the actual page!Little wordpress bug maybe to correct ? Idk I just hope this post will help people.
THANK YOU AGAIN!
Forum: Fixing WordPress
In reply to: Static blog page does not work anymore.the thing is that it dates from april!
Im going to see if it works like that.Forum: Fixing WordPress
In reply to: Static blog page does not work anymore.ok Im gonna upload the last working version.