matek12345
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: older posts in changed loop, posts_nav_linkOk i used your code, man thank so much, i just have to adjust it a little, but it works, my code looks like this:
<div> <?php //The Query $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $args= array( 'posts_per_page' => 3, 'category_name' => 'czytelnia', 'paged' => $paged ); query_posts($args); while ( have_posts() ) : the_post(); ?> <div class="box4" id="post-<?php the_ID(); ?>"> <div class="title4"> <?php $preview = get_post_meta($post->ID, 'preview', $single = true); ?> <h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2> </div> <div class="sentry4"> <?php $preview = get_post_meta($post->ID, 'preview', $single = true); ?> <img class="ethumb4" src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo $preview; ?>&h=100&w=290&zc=1" alt=""/> <?php the_excerpt(); ?> <div class="clear"></div> </div> <div class="sinfo4"> <div class="rmore4"><a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title(); ?>"> Więcej... </a></div> </div> </div> <?php endwhile; ?> <div style="text-align:center;"> <?php posts_nav_link(); ?> </div> </div> </div>
thanks
Forum: Fixing WordPress
In reply to: older posts in changed loop, posts_nav_linkthanks for answer, and help, but it doesn’t work,
maybe i will give the code that i have on my site, i tried many things, i tried this https://theodin.co.uk/blog/design/wordpress-pagination-wppagenavi-queryposts.html and one thing that now when i type in my url after whole url number eg: /2 i get the second page,
i also tried this https://weblogtoolscollection.com/archives/2008/04/13/define-your-own-wordpress-loop-using-wp_query/ but this doesn’t work at all,
I really don’t know where the problem is, and how to get it working, i really need this,
i also tried with this plugin wp=pagenavi, but it only works on first site,
that is my code after this first article adjust
https://wordpress.pastebin.com/eLMrKjrX
and this is before this first article adjustment, just the loop with category that i want to include
https://wordpress.pastebin.com/gEzyP5V4
Thanks a lot for help :]
Forum: Fixing WordPress
In reply to: Loop in other template siteok i got it, next thing, is there a way to delete this post?
Forum: Fixing WordPress
In reply to: Hidden installationthis is one of the options, maybe someone has another idea that could help me
Forum: Themes and Templates
In reply to: How to get child of certain pageok i get it, i just have to add title_li= now the code looks like this
<?php wp_list_pages(‘child_of=63&title_li=’); ?>
thanks a lot, without your help i never would get it ??
Forum: Themes and Templates
In reply to: How to get child of certain pageyes this is it, i don’t know why i couldn’t get it sooner,
I have just one problem with that, i want only the children of this page, and i get:
sites
E
F
G
Hcan i somehow make that the “sites” do not appear?
Forum: Themes and Templates
In reply to: How to get child of certain pagegood idea,
but i want to do something more complicated than just put links on sidebar, i want to edit it with css add put little images next to links so i need code, i think it’s possible to do it with code, but i just can’t find how
thanks for answer