This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Set the number of posts on the page for all site queries | |
function tdm_filter_pre_get_posts( $query ) { | |
$query->set( 'posts_per_page',9 ); // 9 post per page | |
return $query; | |
} | |
add_filter( 'pre_get_posts', 'tdm_filter_pre_get_posts' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Template Name: from csv to create json | |
* | |
* Template for converte csv to json. | |
* | |
* @package understrap | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* The template for displaying user profile in front_end | |
* | |
* This is the template that displays user profile in fron_end. | |
* | |
*/ | |
// Exit if accessed directly. | |
defined( 'ABSPATH' ) || exit; |
OlderNewer