legaltranz
Forum Replies Created
-
Hi Calin,
1. No shortcode [starbox] has been added to the sidebar widget.
2. the Custom CSS works, when it is added, the author box disappeared on the sidebar.Thank you!
Forum: Plugins
In reply to: [Contextual Related Posts] Great plugin ,but needs Chinese support.any results? it will be perfect if this plugin can work with Chinese.
Forum: Plugins
In reply to: how to translate menu?plugin:qtranslate
Forum: Fixing WordPress
In reply to: how to hide pagination in single postI replaced the line above with
<?php wp_link_pages('before=<div id="page-links>&after=</div>&next_or_number=number&pagelink=page %'); ?>
, so it shows “before” and after instead of page 12345.What code can make it look like “previous …1 2 3 … next”, just like the pagination on the google search results page?
Forum: Fixing WordPress
In reply to: how to hide pagination in single postokay, it works, many thanks.
Forum: Fixing WordPress
In reply to: how to hide pagination in single postI’m using Magazine Basic, there are content.php, content-page.php, search everywhere,even single.php, just cannot find
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'twentytwelve' ), 'after' => '</div>' ) ); ?>
or anything similar to this.any idea where else to search?
thanks for the help, I deactivated wp_pagenavi, and after replacing either wp_pagenavi(); and/or mb_pagination(); with
next_posts_link('next page'); previous_posts_link('previous page');
I get this:
<img src=”https://image142-c.poco.cn/mypoco/myphoto/20130508/06/63788011201305080656372625971814562_001.jpg” />Actually, my problem is that in a long single post (not the index page), I used the <!–nextpage–> quicktag to divide it into multiple pages, and the pagination looks like this:
Can I have “Next Previous” links, instead of 12345 links, on the single post page?
single.php:
<?php /** * The Template for displaying all single posts. * * @since 3.0.0 */ get_header(); ?> <div id="primary" <?php mb_primary_attr(); ?> role="main"> <?php while ( have_posts() ) : the_post(); global $mb_content_area; $mb_content_area = 'main'; get_template_part( 'content', get_post_format() ); ?> <div id="posts-pagination"> <h3 class="assistive-text"><?php _e( 'Post navigation', 'magazine-basic' ); ?></h3> <div class="previous fl"><?php previous_post_link( '%link', __( '<span class="meta-nav">←</span> %title', 'magazine-basic' ) ); ?></div> <div class="next fr"><?php next_post_link( '%link', __( '%title <span class="meta-nav">→</span>', 'magazine-basic' ) ); ?></div> </div><!-- #posts-pagination --> <?php if ( 'attachment' != get_post_type( get_the_ID() ) ) comments_template( '', true ); ?> <?php endwhile; // end of the loop. ?> </div><!-- #primary.c8 --> <?php get_footer(); ?>
[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]