return an array with a shortcode

Shortcode should return string ready to append to content. You can’t return an array, because it won’t be printed correctly. So if your shortcode should return an array, you have to figure out how this data should be formatted. One way to do it is to use commas to separate the values: return implode( ‘, … Read more

Ajax not sending the data correctly- Multidimensional array

Anwer is yes it does limit. This server parameter max_input_var sets it. You may have to increase it make it work. php documentation : max_input_var : How many input variables may be accepted (limit is applied to $_GET, $_POST and $_COOKIE superglobal separately). Use of this directive mitigates the possibility of denial of service attacks … Read more

Static Page, need Last and Next links at the bottom

Something like this should work. I’ve added some explanation to the code in comments: <div class=”title text-center”> <h1><strong><?php the_title(); ?></strong></h1> <img src=”https://wordpress.stackexchange.com/questions/356147/<?php echo get_template_directory_uri(); ?>/images/title.png” title=”title-line” alt=”title-line”> </div> <div id=”no-more-tables” class=”legel”> <?php the_content(); ?> </div> <?php // Get the page from the url e.g. domain.com/articles?paged=2 would be page 2. $paged = ( get_query_var( ‘paged’ ) … Read more