| Server IP : 46.62.235.243 / Your IP : 216.73.216.217 Web Server : Apache/2.4.58 (Ubuntu) System : Linux Linkabili3Dicembre 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/puntounicodisabilita/wp-content/themes/neve-fse/inc/ |
Upload File : |
<?php
/**
* Starter content.
*
* @author Themeisle
* @package neve-fse
* @since 1.0.0
*/
namespace NeveFSE;
/**
* Class Starter Content
*
* @package neve-fse
*/
class Starter_Content {
const HOME_SLUG = 'home';
const BLOG_SLUG = 'blog';
/**
* Get the starter content.
*
* @return array
*/
public function get() {
return array(
'nav_menus' => array(
'primary' => array(
'items' => array(
'home' => array(
'type' => 'post_type',
'object' => 'page',
'object_id' => '{{' . self::HOME_SLUG . '}}',
),
'page_blog' => array(
'type' => 'post_type',
'object' => 'page',
'object_id' => '{{' . self::BLOG_SLUG . '}}',
),
),
),
),
'options' => array(
'page_on_front' => '{{' . self::HOME_SLUG . '}}',
'page_for_posts' => '{{' . self::BLOG_SLUG . '}}',
'show_on_front' => 'page',
),
'posts' => array(
self::BLOG_SLUG => array(
'post_name' => self::BLOG_SLUG,
'post_type' => 'page',
'post_title' => self::BLOG_SLUG,
),
self::HOME_SLUG => array(
'post_type' => 'page',
'post_title' => self::HOME_SLUG,
'post_content' => '
<!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.</p>
<!-- /wp:paragraph -->
',
),
),
);
}
}