Jump to content

Search the Community

Showing results for tags 'pagination'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

  1. Hello, I have a file where I want to make the pagination visible right after the ending of the post. Right now it is showing after all modules/widgets but I want it above the facebook like so that the pagination is visible right away. I tried a various modification with that code but couldn't find the right solution, so I would like your help. The code responsible for that is wp_link_pages (line 38) that is in the code listed below. The preview of that is here: http://www.sedziapilkarski.pl/sedziowie-3/letni-turniej-pilkarski-sedziow/2252 <?php get_header(); ?> <div id="container"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class('entry'); ?>> <h1 class="entry_title"><?php the_title(); ?></h1> <div class="metasingle"> <span class="postDate"><?php echo get_the_date('') ?> | </span> <span class="postCategory"><?php _e('Filed under','linepress'); ?>: <?php the_category(','); echo get_the_term_list( $post->ID, 'gallery-cat', ': ', ' ', '' ); ?> | </span> <span class="postAuthor"><?php _e('Posted by','linepress'); ?>: <?php the_author_posts_link(); ?></span> </div><!-- /metas --> <?php // Theme innerpage slider gab_innerslider(); // Display edit post link to site admin edit_post_link(__('Edit This Post','linepress'),'<p>','</p>'); // If there is a video, display it gab_media(array( 'imgtag' => 1, 'link' => 1, 'name' => 'gabfire', 'enable_video' => 1, 'video_id' => 'post', 'catch_image' => 0, 'enable_thumb' => 0, 'media_width' => '623', 'media_height' => '360', 'thumb_align' => 'alignnone', 'enable_default' => 0, )); // Display content the_content(); // Display pagination wp_link_pages(array('before' => __('<strong>Strony:</strong> ', 'arras'), 'after' => '', 'next_or_number' => 'number')); // make sure any floated content gets cleared echo '<div class="clear"></div>'; //If there is a widget, display it gab_dynamic_sidebar('PostWidget'); // Display edit post link to site admin edit_post_link(__('Edit This Post','linepress'),'<p>','</p>'); ?> <?php if(of_get_option('of_ln_entry_meta') == 1) { ?> <div id="entryMeta"> <?php echo get_avatar( get_the_author_email(), '27' ); ?> <?php _e('Posted by','linepress'); ?> <?php the_author_posts_link(); ?> <?php /* This is commented, because it requires a little adjusting sometimes. You'll need to download this plugin, and follow the instructions: http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */ /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?> <?php _e('on','linepress'); ?> <?php echo get_the_date(''); ?>. <?php _e('Filed under','linepress'); ?> <?php the_category(', ') ?>. <?php _e('You can follow any responses to this entry through the','linepress'); ?> <?php comments_rss_link('RSS 2.0'); ?>. <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) { // Both Comments and Pings are open ?> <?php _e('You can leave a response or trackback to this entry','linepress'); ?> <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) { // Only Pings are Open ?> <?php _e('Responses are currently closed, but you can trackback from your own site.','linepress'); ?> <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) { // Comments are open, Pings are not ?> <?php _e('You can skip to the end and leave a response. Pinging is currently not allowed.','linepress'); ?> <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) { // Neither Comments, nor Pings are open ?> <?php _e('Both comments and pings are currently closed.','linepress'); ?> <?php } ?> <div class="clear"></div> </div> <?php } ?> </div><!-- /post --> <?php endwhile; else : endif; ?> <?php if ( of_get_option('of_ln_singlepage') <> "" ) { ?> <div class="single_ad"> <?php if(file_exists(TEMPLATEPATH . '/ads/single_468x60/'.current_catID().'.php') && (is_single() || is_category())) { include_once(TEMPLATEPATH . '/ads/single_468x60/'.current_catID().'.php'); } else { include_once(TEMPLATEPATH . '/ads/single_468x60.php'); } ?> </div> <?php } ?> <?php comments_template(); ?> </div><!-- /container --> <div id="sidebar"> <?php get_sidebar(); ?> </div><!-- End of sidebar --> <div class="clear"></div> <?php get_footer(); ?>
  2. I would like to develop a system that makes remote reading of the result of some search sites. These results are paginated and many sites use ajax to load pages. How can I accomplish this system with php? example of a site search page result: http://busca.submarino.com.br/busca.php?q=celular&sessao=4b712361eee996720660b5d6bde5dfc1f22066c9&idbusca=c9aeb969a4e7fb45bbbf152c85f1234cd768f5e7 As you can see at the bottom of the page, there is some javascript attached to the pagination link. Can anyone help with some idea? Thanks
  3. I'm trying to get all of my records to display in my PrimaryContent DIV, but only the first one does. When you click on any other pages, they display on a completely separate page. I was told to Google "passing multiple variables in a query string" but there was so much coding that I was completely lost. I was also told, "Find the place in the code where the page=xxx is set in the URL (First << 1 2 3 etc.). Add your Menukey to the Query String. Every time the page reloads, check for the MenuKey and let the Function check for the Page Number." The part I don't really understand is how I add my menukey to the query string. Any help would be appreciated. If you need to see any specific code let me know. My page is here so you can see for yourself: http://itd1.cincinnatistate.edu/php_vondrelld/index.php?menukey=8 Scroll to the bottom and click another page and you'll see what I mean. Thanks so much!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.