Jump to content

Search the Community

Showing results for tags 'tie'.

  • 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

Found 1 result

  1. Not sure if this is the right place to come, but I need a little help. A wordpress theme I'm using has a blog page that loads howver many posts are set in the WP Reading settings. There is a Load More posts bar at the end of the list that, when clicked, only loads as many posts as are set in the WP Reading settings. I'd like to arrange it that it loads all posts. I've contacted the theme maker, but his advice doesn't work. The blog page in question: http://www.dcdouglas...c-douglas-blog/ The original code: /*-----------------------------------------------------------------------------------*/ # Load More posts /*-----------------------------------------------------------------------------------*/ add_action('wp_ajax_nopriv_tie_load_more', 'tie_home_load'); add_action('wp_ajax_tie_load_more', 'tie_home_load'); function tie_home_load(){ $exc_home_cats = tie_get_option( 'exc_home_cats' ); if( $_REQUEST["isHome"] == 1 && $exc_home_cats ){ foreach($exc_home_cats as $cat) $string .= '-' .$cat.","; $string = substr($string, 0, -1); if( !empty( $string )) $exc_home = '&cat='.$string; } query_posts($_REQUEST['query'].$exc_home.'&post_status=publish&paged='.$_REQUEST['page']); get_template_part( 'loop', 'index' ); die; } His suggestion: query_posts($_REQUEST['query'].$exc_home.'&post_status=publish&posts_per_page=-1&paged='.$_REQUEST['page']); It doesn't affect it at all. Any ideas? thank you!
×
×
  • 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.