[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fMel3ZjY3nRIyNepeSICgnqkcbPy0ooj2_OKAWRmF8uE":3},{"slug":4,"display_name":4,"profile_url":5,"plugin_count":6,"total_installs":7,"avg_security_score":8,"avg_patch_time_days":9,"trust_score":10,"computed_at":11,"plugins":12},"gabrielperezs","https:\u002F\u002Fprofiles.wordpress.org\u002Fgabrielperezs\u002F",1,10,85,30,84,"2026-04-04T13:58:51.538Z",[13],{"slug":14,"name":15,"version":16,"author":4,"author_profile":5,"description":17,"short_description":18,"active_installs":7,"downloaded":19,"rating":20,"num_ratings":20,"last_updated":21,"tested_up_to":22,"requires_at_least":23,"requires_php":24,"tags":25,"homepage":31,"download_link":32,"security_score":8,"vuln_count":20,"unpatched_count":20,"last_vuln_date":33,"fetched_at":34},"ttt-loadmore","TTT Loadmore","1.1.1","\u003Cp>WordPress plugin to load more event with your own template.\u003C\u002Fp>\n\u003Cp>For code contributions please go to https:\u002F\u002Fgithub.com\u002F33themes\u002Fttt-loadmore\u003C\u002Fp>\n\u003Ch3>How to use it\u003C\u002Fh3>\n\u003Cp>\u003Cem>This is the base html:\u003C\u002Fem>\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003Ca href=\"#\" data-tttloadmore-do=\"archiveposts\" data-tttloadmore-to=\"#main\" data-tttloadmore-args=\"category:php;\">\n    Load more content\n\u003C\u002Fa>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cul>\n\u003Cli>data-tttloadmore-do* is the action to load more content\u003C\u002Fli>\n\u003Cli>data-tttloadmore-to* is where the script put the content after load more posts (the result of the “do” action)\u003C\u002Fli>\n\u003Cli>data-tttloadmore-args* contain all the arguments you want to send to the “do” action\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>\u003Cem>Then, you have to create an action with the same name of the data-tttloadmore-do\u003C\u002Fem>\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003C?php\nfunction loadmore_archiveposts( $page, $args = false ){\n\n    $archiveposts = array(\n        'post_type' => 'post',\n        'post_status' => 'publish',\n        'order' => 'DESC',\n        'orderby' => 'date',\n        'paged' => $page,\n        'ignore_sticky_posts' => 1,\n        'category_name' => $args['category'],\n    );\n    $archiveposts_query = new WP_Query($archiveposts);\n    ?>\n\n    \u003C?php if ($archiveposts_query->have_posts()) : ?>\n        \u003C?php while ($archiveposts_query->have_posts()) : $archiveposts_query->the_post(); ?>\n                \u003C?php get_template_part( 'partials\u002Fcontent', 'content' ); ?>\n        \u003C?php wp_reset_postdata();?>\n        \u003C?php endwhile; ?>\n    \u003C?php endif;?>\n\n    \u003C?\n}\nadd_action('ttt_loadmore_archiveposts','loadmore_archiveposts', 1, 2);\n?>\n\u003C\u002Fcode>\u003C\u002Fpre>\n","WordPress plugin to load more event with your own template.",1377,0,"2015-09-14T09:34:00.000Z","4.3.34","3.7","",[26,27,28,29,30],"core-pagination","loadmore","pagination","posts-pagination","vertical-pagination","http:\u002F\u002Fwww.33themes.com","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fttt-loadmore.1.1.1.zip",null,"2026-03-15T15:16:48.613Z"]