anespa
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Why the Paagination show more links than content ?Thanks Dear wbcomdesigns… Your solution make the magic
Anes
Hello Eli,
I contacted through e-mail. Please check it and advise me soon.Thanks
AnesDear Rishabh & Eli,
I have also same issue . My web site url is https://www.insight.org.in , if I take it redirect to https://insight.org.in and google notified as “This site may be hacked” message on search.
I also use Anti-Malware from GOTMLS.NET free to scan. There show some false-positive result there. Please advise Rishabh, what steps you do to remove this problem..Waiting for your fast reply
Anes
Forum: Fixing WordPress
In reply to: How to add pagination in category-news page ?Dear Nisha,cedcommerce,latro666,
From the last post of latro666, my all needs fulfilled. Thanks all of Us..
Greatfully,
Anes
Forum: Fixing WordPress
In reply to: How to add pagination in category-news page ?latro please advise , I plan to put a link on side of pagination “show all” , when I click it can show all posts.. Please tell how this “modify_main_query” option can call for this purpose ? Please specify step by step.. My code is:
<?php /** * The template for displaying the news category listing page * * @package WordPress * @subpackage Insight_Custom * @since Insight Custom 1.0 */ get_header(); ?> <div class="spotlight"> <img src="<?php bloginfo('template_directory'); ?>/media/spotlight/spotlight-inner-01.jpg" alt="Inner spotlight" title="spotlight of inner page" border="0" /> </div> <div class="content grid_12"> <h2 style="color: #0b669b;">News Listing</h2> <div class="line"></div> <?php $categories = get_the_category(); $cat = $categories[0]->term_id; $paged = ( get_query_var( 'paged' ) ) ? absint( get_query_var( 'paged' ) ) : 1; $args = array( 'posts_per_page' => 2, 'paged' => $paged, 'cat' => $cat ); query_posts($args); while (have_posts()) : the_post(); ?> <h3 style="color: #0b669b"><?php the_title(); ?></h3> <?php the_content(); ?> <!--<div class="line"></div> --> <?php endwhile; ?> <?php $big = 999999999; // need an unlikely integer echo paginate_links( array( 'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ), 'format' => '?paged=%#%', 'current' => max ( 1, get_query_var('paged') ) //'total' => 2000 ) ); ?> </div> </div> <?php get_sidebar(); ?> <br clear="all" /> </div> <!-- End Container --> </div> <?php get_footer (); ?>
Thanks
Anes
Forum: Fixing WordPress
In reply to: How to add pagination in category-news page ?Dear Friends ,
By changing the admin option >> Settings >> Reading settings
Blog pages show at most as 1 instead of 10 it works fine …Thanks friends…
But I need 1 more link to show all category news in one page without pagination. I know it’s possible if can give ‘posts_per_page’ => -1
But how can change that from current 2 value to -1 , if I click a link..Waiting for a solution
Thanks
Anes
Forum: Fixing WordPress
In reply to: How to add pagination in category-news page ?Dear Cedcommerce,
Your code is fine . My problem is I got 404 page when i Click pagination link.
https://localhost/wordpress/category/news/page/2/
I am looking a solution for it now.Thanks
AnesForum: Fixing WordPress
In reply to: How to add pagination in category-news page ?Dear cedcommerce,
Your code works for me , thanks ..
But my problem is in 404 pages now… My current url is : https://localhost/wordpress/category/news/
but when I click 2nd link goto url : https://localhost/wordpress/category/news/page/2/ and got a 404 page.Please advise How it can fix..
Thanks @latro666 for your nice reply
Anes
Forum: Fixing WordPress
In reply to: How to add pagination in category-news page ?Dear cedcommerce,
I replace my code with your’s but still not show any pagination. Please
find the preview of page here : PreviewPlease advise..
Thanks
Anes
Forum: Fixing WordPress
In reply to: How to add pagination in category-news page ?Hi Nisha,
I looked that tutorial , but that points not give a solution for me.Thanks
AnesForum: Fixing WordPress
In reply to: How to paginate a single pageHi Ravi Patel,
Thanks for your quick and apt reply..Thanks
AnesDear Claudio,
Please provide the option to retrieve the first case , i.e data in json format. Waiting for your fast reply.Thanks,
AnesForum: Plugins
In reply to: [WP Business Intelligence Lite] Javascript error in implementationDear Claudio,
I am still in same problem … I provide my codetest-xmlrpc.php
https://www.mediafire.com/view/9fpbmyfpvs8dmac/test-xmlrpc.php
call function $objXMLRPClientWordPress->getChart(5) on line 115.class-wp-xmlrpc-server.php
https://www.mediafire.com/view/6exdr843noddqcz/class-wp-xmlrpc-server.php
Please check “getChart()” function in that.
Advise me , i am waiting your reply
Thanks,
AnesDear Claudio,
I check as you suggestion , but still it’s not working . Do you can provide a sample code , which can work in WPBI Lite , I believe it can implement on Enterprise later . Please reply urgently I am waiting for you.Thanks,
AnesForum: Plugins
In reply to: [WP Business Intelligence Lite] Query option in PluginDear Claudio,
I will explain my doubt, suppose our query that work for a chart is
“select name,age from table where region=’Alabama'”
in that query when user need data of “Kentucky” region , do we can add an option in query to change the region as “Kentucky” from user view . Reply with your idea.Thanks,
Anes