$ctf_header_html .= '</div>'; $ctf_header_html .= '</a>'; $ctf_header_html .= '</div>'; } return $ctf_header_html; } /** * outputs the html for a set of tweets to be used in the feed * * @param int $is_pagination 1 or 0, used to differentiate between the first set and subsequent tweet sets * * @return string $tweet_html */ public function getTweetSetHtml( $is_pagination = 0 ){ $feed_id = $this->feedID(); $tweet_set = isset( $this->tweet_set['statuses'] ) ? $this->tweet_set['statuses'] : $this->tweet_set; $options = ctf_get_database_settings(); $len = min( $this->feed_options['num'] + $is_pagination, count( $tweet_set ) ); $i = $is_pagination; // starts at index "1" to offset duplicate tweet $feed_options = $this->feed_options; $tweet_html = $this->feed_html; $feed_id = $this->is_legacy ? $this->unique_legacy_id : $this->feed_id; $ctf_data_needed = $this->num_tweets_needed; $ctf_feed_classes = CTF_Parse::get_feed_classes($feed_options, $this->check_for_duplicates, $feed_id); $ctf_enable_intents = ((bool)$options['disableintents'] === false) && ctf_show('actions', $feed_options) ? ' data-ctfintents="1" ' : ''; $ctf_main_atts = CTF_Display_Elements::get_feed_container_data_attributes( $feed_options, $feed_id, $this->feedID() ) . $ctf_enable_intents; if (!$is_pagination) { if ( empty( $this->was_error_or_empty( $this->tweet_set ) ) ) { $this->error_report->process_error( 'no_tweets_found_cache' ); } ob_start(); include ctf_get_feed_template_part('feed', $feed_options); $tweet_html .= ob_get_contents(); ob_get_clean(); }
"count(): Parameter must be an array or an object that implements Countable"
$ctf_header_html .= '</div>'; $ctf_header_html .= '</a>'; $ctf_header_html .= '</div>'; } return $ctf_header_html; } /** * outputs the html for a set of tweets to be used in the feed * * @param int $is_pagination 1 or 0, used to differentiate between the first set and subsequent tweet sets * * @return string $tweet_html */ public function getTweetSetHtml( $is_pagination = 0 ){ $feed_id = $this->feedID(); $tweet_set = isset( $this->tweet_set['statuses'] ) ? $this->tweet_set['statuses'] : $this->tweet_set; $options = ctf_get_database_settings(); $len = min( $this->feed_options['num'] + $is_pagination, count( $tweet_set ) ); $i = $is_pagination; // starts at index "1" to offset duplicate tweet $feed_options = $this->feed_options; $tweet_html = $this->feed_html; $feed_id = $this->is_legacy ? $this->unique_legacy_id : $this->feed_id; $ctf_data_needed = $this->num_tweets_needed; $ctf_feed_classes = CTF_Parse::get_feed_classes($feed_options, $this->check_for_duplicates, $feed_id); $ctf_enable_intents = ((bool)$options['disableintents'] === false) && ctf_show('actions', $feed_options) ? ' data-ctfintents="1" ' : ''; $ctf_main_atts = CTF_Display_Elements::get_feed_container_data_attributes( $feed_options, $feed_id, $this->feedID() ) . $ctf_enable_intents; if (!$is_pagination) { if ( empty( $this->was_error_or_empty( $this->tweet_set ) ) ) { $this->error_report->process_error( 'no_tweets_found_cache' ); } ob_start(); include ctf_get_feed_template_part('feed', $feed_options); $tweet_html .= ob_get_contents(); ob_get_clean(); }
* * @param $atts array shortcode arguments * * @return string */ function ctf_init( $atts, $preview_settings = false ) { wp_enqueue_script( 'ctf_scripts' ); $twitter_feed = TwitterFeed\CtfFeed::init( $atts, null, 0, array(), 1, $preview_settings); if ( isset( $twitter_feed->feed_options['feederror'] ) && ! empty( $twitter_feed->feed_options['feederror'] ) ) { return "<span id='ctf-no-id'>" . sprintf( __( 'No feed found with the ID %1$s. Go to the %2$sAll Feeds page%3$s and select an ID from an existing feed.', 'custom-twitter-feeds' ), esc_html( $twitter_feed->feed_options['feed'] ), '<a href="' . esc_url( admin_url( 'admin.php?page=ctf-feed-builder' ) ) . '">', '</a>' ) . '</span><br /><br />'; } else { // if there is an error, display the error html, otherwise the feed if ( ! $twitter_feed->tweet_set || ($twitter_feed->missing_credentials && ! CTF_DOING_SMASH_TWITTER) || ! isset( $twitter_feed->tweet_set[0]['created_at'] ) ) { if ( ! empty( $twitter_feed->tweet_set['errors'] ) ) { $twitter_feed->maybeCacheTweets(); } else { $twitter_feed->maybeCacheTweets(true); } $feed_html = ''; $feed_html .= $twitter_feed->getTweetSetHtml(); return $feed_html; } else { if ( ! $twitter_feed->feed_options['persistentcache'] ) { $twitter_feed->maybeCacheTweets(); } $feed_html = ''; $feed_html .= $twitter_feed->getTweetSetHtml(); return $feed_html; } } } add_shortcode( 'custom-twitter-feed', 'ctf_init' ); add_shortcode( 'custom-twitter-feeds', 'ctf_init' ); /** * Called via ajax to get more posts after the "load more" button is clicked */ function ctf_get_more_posts() {
* Filters whether to call a shortcode callback. * * Returning a non-false value from filter will short-circuit the * shortcode generation process, returning that value instead. * * @since 4.7.0 * * @param false|string $output Short-circuit return value. Either false or the value to replace the shortcode with. * @param string $tag Shortcode name. * @param array|string $attr Shortcode attributes array or the original arguments string if it cannot be parsed. * @param array $m Regular expression match array. */ $return = apply_filters( 'pre_do_shortcode_tag', false, $tag, $attr, $m ); if ( false !== $return ) { return $return; } $content = isset( $m[5] ) ? $m[5] : null; $output = $m[1] . call_user_func( $shortcode_tags[ $tag ], $attr, $content, $tag ) . $m[6]; /** * Filters the output created by a shortcode callback. * * @since 4.7.0 * * @param string $output Shortcode output. * @param string $tag Shortcode name. * @param array|string $attr Shortcode attributes array or the original arguments string if it cannot be parsed. * @param array $m Regular expression match array. */ return apply_filters( 'do_shortcode_tag', $output, $tag, $attr, $m ); } /** * Searches only inside HTML elements for shortcodes and process them. * * Any [ or ] characters remaining inside elements will be HTML encoded * to prevent interference with shortcodes that are outside the elements. * Assumes $content processed by KSES already. Users with unfiltered_html
// Find all registered tag names in $content. preg_match_all( '@\[([^<>&/\[\]\x00-\x20=]++)@', $content, $matches ); $tagnames = array_intersect( array_keys( $shortcode_tags ), $matches[1] ); if ( empty( $tagnames ) ) { return $content; } // Ensure this context is only added once if shortcodes are nested. $has_filter = has_filter( 'wp_get_attachment_image_context', '_filter_do_shortcode_context' ); $filter_added = false; if ( ! $has_filter ) { $filter_added = add_filter( 'wp_get_attachment_image_context', '_filter_do_shortcode_context' ); } $content = do_shortcodes_in_html_tags( $content, $ignore_html, $tagnames ); $pattern = get_shortcode_regex( $tagnames ); $content = preg_replace_callback( "/$pattern/", 'do_shortcode_tag', $content ); // Always restore square braces so we don't break things like <!--[if IE ]>. $content = unescape_invalid_shortcodes( $content ); // Only remove the filter if it was added in this scope. if ( $filter_added ) { remove_filter( 'wp_get_attachment_image_context', '_filter_do_shortcode_context' ); } return $content; } /** * Filter the `wp_get_attachment_image_context` hook during shortcode rendering. * * When wp_get_attachment_image() is called during shortcode rendering, we need to make clear * that the context is a shortcode and not part of the theme's template rendering logic. * * @since 6.3.0 * @access private
function __construct() { parent::__construct( 'custom-twitter-feeds-widget', __( 'Custom Twitter Feeds', 'custom-twitter-feeds' ), array( 'description' => __( 'Display your Twitter feed', 'custom-twitter-feeds' ), ) ); } public function widget( $args, $instance ) { $title = isset( $instance['title'] ) ? apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base ) : ''; $content = isset( $instance['content'] ) ? strip_tags( $instance['content'] ) : '[custom-twitter-feeds]'; echo $args['before_widget']; if ( ! empty( $title ) ) { echo $args['before_title'] . esc_html( $title ) . $args['after_title']; } echo do_shortcode( $content ); echo $args['after_widget']; } public function form( $instance ) { $title = isset( $instance['title'] ) ? $instance['title'] : ''; $content = isset ( $instance['content'] ) ? strip_tags( $instance['content'] ) : '[custom-twitter-feeds]'; ?> <p> <label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"><?php _e( 'Title:' ); ?></label> <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" /> </p> <textarea class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'content' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'content' ) ); ?>" rows="16"><?php echo strip_tags( $content ); ?></textarea> <?php } public function update( $new_instance, $old_instance ) { $instance = array(); $instance['title'] = ( ! empty( $new_instance['title'] ) ) ? strip_tags( $new_instance['title'] ) : '';
/** This filter is documented in wp-includes/class-wp-widget.php */ $instance = apply_filters( 'widget_display_callback', $instance, $widget_obj, $args ); if ( false === $instance ) { return; } /** * Fires before rendering the requested widget. * * @since 3.0.0 * * @param string $widget The widget's class name. * @param array $instance The current widget instance's settings. * @param array $args An array of the widget's sidebar arguments. */ do_action( 'the_widget', $widget, $instance, $args ); $widget_obj->_set( -1 ); $widget_obj->widget( $args, $instance ); } /** * Retrieves the widget ID base value. * * @since 2.8.0 * * @param string $id Widget ID. * @return string Widget ID base. */ function _get_widget_id_base( $id ) { return preg_replace( '/-[0-9]+$/', '', $id ); } /** * Handle sidebars config after theme change * * @access private * @since 3.3.0 *
else if( ! empty( $widget_option ) ) { $widget_slug = $widget_option; } if( ! empty($widget_slug) && isset($wp_widget_factory->widgets[$widget_slug])) { // Widget instance $factory_instance = $wp_widget_factory->widgets[$widget_slug]; $widget_class = get_class($factory_instance); $widget_instance = new $widget_class($factory_instance->id_base, $factory_instance->name, $factory_instance->widget_options); // Get saved options $saved_options = ! empty( $this->data['options'] ) ? $this->data['options'] : array(); // Widget settings $settings_key = 'widget-' . $widget_instance->id_base; $widget_settings = isset( $saved_options[$settings_key][0] ) ? $saved_options[$settings_key][0] : array(); // Render the widget the_widget($widget_slug, $widget_settings, array('widget_id' => 'znpb_widget' . $this->data['uid'])); } else if( isset( $widget_slug ) && ZNB()->utility->isActiveEditor() ) { // Widget doesn't exist! printf( _x( '%s does not exists.', '%s stands for widget slug.', 'zn_framework' ), $widget_slug ); } ?> </div> <?php } } ?>
} /** * Will check if the element has a render condition * * @return bool */ function canRender() { return true; } /** * Will render the element */ function elementRender() { if ( $this->_can_render() ) { $this->element(); } } /** * Description * * @param string|bool $key * @param string|bool $default * @return mixed */ function opt( $key = false, $default = false ) { return ( ( isset( $this->data[ 'options' ][ $key ] ) && '' != $this->data[ 'options' ][ $key ] ) ? $this->data[ 'options' ][ $key ] : $default); } /** * Retrieve the element's options * @return array */ function options()
if ( $ishidden ) { $canRender = false; } } // Don't proceed if we can't render this element if ( ! $canRender ) { return false; } // Perform an action that other can use to add extra content do_action( 'znb:before_element_render', $elementInstance ); // Use the edit method if the element supports it and the editor is active if ( $isActiveEditor && method_exists( $elementInstance, 'element_edit' ) ) { // render active editor version of the element $elementInstance->element_edit(); } else { // Render element $elementInstance->elementRender(); } // Perform an action that other can use to add extra content do_action( 'znb:after_element_render', $elementInstance ); } /** * Will add Edit/view page buttons to admin bar if pagebuilder is active on current page * @param [type] $wp_admin_bar [description] * @return [type] [description] */ function adminBarMenu( $wp_admin_bar ) { if ( ! ZNB()->utility->allowedEdit() || ! ZNB()->utility->isPageBuilderEnabled() ) { return false; } $post_id = ZNB()->utility->getPostID(); $args = array(); if ( ZNB()->utility->isActiveEditor() ) { $args = array(
} public function disableActiveEditor() { return false; } /** * @TODO: move to elements manager * @param [type] $element [description] * @param mixed $elements * @return [type] [description] */ function renderElements( $elements = array() ) { if ( ! is_array( $elements ) ) { return; } foreach ( $elements as $element ) { $this->renderSingleElement( $element ); } } function getElementWithData( $elementData ) { // Set-up UID if not provided. The UID is not provided when the element is cloned for example if ( ! isset( $elementData[ 'uid' ] ) ) { $elementData[ 'uid' ] = zn_uid( 'eluid' ); } if ( ! empty( $this->instantiated_modules[ $elementData[ 'uid' ] ] ) ) { $elementInstance = $this->instantiated_modules[ $elementData[ 'uid' ] ]; } else { // Create a new instance of the element // get an instance of the element $elementInstance = $this->getElementInstance( $elementData ); } return $elementInstance; }
$stickyCol_options = array( 'distance' => $this->opt('sticky_col_distance', '100'), 'offset' => $this->opt('sticky_col_offset', '0'), ); ?> <div class="<?php echo implode(' ', $classes); ?> znColumnElement" <?php echo '' . $attributes; ?> id="<?php echo esc_attr( $element_id ); ?>" > <?php if ( 'yes' == $this->opt('sticky_col', '') && 'yes' != $this->opt('obj_parallax_enable', '') ) { echo '<div class="znColumnElement-stickyCol" data-sticky-col=\'' . json_encode($stickyCol_options) . '\'>'; } ?> <div class="znColumnElement-innerWrapper-<?php echo esc_attr( $uid ); ?> znColumnElement-innerWrapper znColumnElement-innerWrapper--valign-<?php echo esc_attr( $this->opt('valign', 'top') ); ?> znColumnElement-innerWrapper--halign-<?php echo esc_attr( $this->opt('halign', 'left') ); ?> <?php echo esc_attr( $innerWrapper_class ); ?>" <?php echo $innerWrapper_attributes; ?>> <?php echo ZNB()->utility->getColumnsContainer(array( 'cssClasses' => 'znColumnElement-innerContent', )); ?> <?php ZNB()->frontend->renderElements( $this->data['content'] ); ?> </div> </div> <?php if ( 'yes' == $this->opt('sticky_col', '') && 'yes' != $this->opt('obj_parallax_enable', '') ) { echo '</div>'; } ?> </div> <?php } } ?>
} /** * Will check if the element has a render condition * * @return bool */ function canRender() { return true; } /** * Will render the element */ function elementRender() { if ( $this->_can_render() ) { $this->element(); } } /** * Description * * @param string|bool $key * @param string|bool $default * @return mixed */ function opt( $key = false, $default = false ) { return ( ( isset( $this->data[ 'options' ][ $key ] ) && '' != $this->data[ 'options' ][ $key ] ) ? $this->data[ 'options' ][ $key ] : $default); } /** * Retrieve the element's options * @return array */ function options()
if ( $ishidden ) { $canRender = false; } } // Don't proceed if we can't render this element if ( ! $canRender ) { return false; } // Perform an action that other can use to add extra content do_action( 'znb:before_element_render', $elementInstance ); // Use the edit method if the element supports it and the editor is active if ( $isActiveEditor && method_exists( $elementInstance, 'element_edit' ) ) { // render active editor version of the element $elementInstance->element_edit(); } else { // Render element $elementInstance->elementRender(); } // Perform an action that other can use to add extra content do_action( 'znb:after_element_render', $elementInstance ); } /** * Will add Edit/view page buttons to admin bar if pagebuilder is active on current page * @param [type] $wp_admin_bar [description] * @return [type] [description] */ function adminBarMenu( $wp_admin_bar ) { if ( ! ZNB()->utility->allowedEdit() || ! ZNB()->utility->isPageBuilderEnabled() ) { return false; } $post_id = ZNB()->utility->getPostID(); $args = array(); if ( ZNB()->utility->isActiveEditor() ) { $args = array(
} public function disableActiveEditor() { return false; } /** * @TODO: move to elements manager * @param [type] $element [description] * @param mixed $elements * @return [type] [description] */ function renderElements( $elements = array() ) { if ( ! is_array( $elements ) ) { return; } foreach ( $elements as $element ) { $this->renderSingleElement( $element ); } } function getElementWithData( $elementData ) { // Set-up UID if not provided. The UID is not provided when the element is cloned for example if ( ! isset( $elementData[ 'uid' ] ) ) { $elementData[ 'uid' ] = zn_uid( 'eluid' ); } if ( ! empty( $this->instantiated_modules[ $elementData[ 'uid' ] ] ) ) { $elementInstance = $this->instantiated_modules[ $elementData[ 'uid' ] ]; } else { // Create a new instance of the element // get an instance of the element $elementInstance = $this->getElementInstance( $elementData ); } return $elementInstance; }
'source_overlay_color' => $this->opt('source_overlay_color'), 'source_overlay_opacity' => $this->opt('source_overlay_opacity'), 'source_overlay_color_gradient' => $this->opt('source_overlay_color_gradient'), 'source_overlay_color_gradient_opac' => $this->opt('source_overlay_color_gradient_opac'), 'source_overlay_gloss' => $this->opt('source_overlay_gloss',''), 'enable_parallax' => $this->opt('enable_parallax'), 'source_overlay_custom_css' => $this->opt('source_overlay_custom_css',''), 'mobile_play' => $this->opt('mobile_play', 'no'), ) ); ?> <div class="zn_section_size <?php echo esc_attr( $this->opt('size','container') );?> zn-section-height--<?php echo esc_attr( $this->opt('sec_height','auto') );?> zn-section-content_algn--<?php echo esc_attr( $this->opt('valign','top') );?> "> <?php echo ZNB()->utility->getElementContainer(array( 'cssClasses' => 'row '. $this->opt('gutter_size','') )); ?> <?php ZNB()->frontend->renderElements( $this->data['content'] ); ?> </div> </div> <?php // top mask if( $this->opt('section_topmasks','none') != 'none' ){ zn_bottommask_markup( $this->opt('section_topmasks','none'), $this->opt('topmasks_bg',''), 'top', $this->opt('top_mask_bg_image'), $this->opt('top_mask_bg_height') ); } // bottom mask if($bottom_mask != 'none'){ zn_bottommask_markup( $bottom_mask,
} /** * Will check if the element has a render condition * * @return bool */ function canRender() { return true; } /** * Will render the element */ function elementRender() { if ( $this->_can_render() ) { $this->element(); } } /** * Description * * @param string|bool $key * @param string|bool $default * @return mixed */ function opt( $key = false, $default = false ) { return ( ( isset( $this->data[ 'options' ][ $key ] ) && '' != $this->data[ 'options' ][ $key ] ) ? $this->data[ 'options' ][ $key ] : $default); } /** * Retrieve the element's options * @return array */ function options()
if ( $ishidden ) { $canRender = false; } } // Don't proceed if we can't render this element if ( ! $canRender ) { return false; } // Perform an action that other can use to add extra content do_action( 'znb:before_element_render', $elementInstance ); // Use the edit method if the element supports it and the editor is active if ( $isActiveEditor && method_exists( $elementInstance, 'element_edit' ) ) { // render active editor version of the element $elementInstance->element_edit(); } else { // Render element $elementInstance->elementRender(); } // Perform an action that other can use to add extra content do_action( 'znb:after_element_render', $elementInstance ); } /** * Will add Edit/view page buttons to admin bar if pagebuilder is active on current page * @param [type] $wp_admin_bar [description] * @return [type] [description] */ function adminBarMenu( $wp_admin_bar ) { if ( ! ZNB()->utility->allowedEdit() || ! ZNB()->utility->isPageBuilderEnabled() ) { return false; } $post_id = ZNB()->utility->getPostID(); $args = array(); if ( ZNB()->utility->isActiveEditor() ) { $args = array(
} public function disableActiveEditor() { return false; } /** * @TODO: move to elements manager * @param [type] $element [description] * @param mixed $elements * @return [type] [description] */ function renderElements( $elements = array() ) { if ( ! is_array( $elements ) ) { return; } foreach ( $elements as $element ) { $this->renderSingleElement( $element ); } } function getElementWithData( $elementData ) { // Set-up UID if not provided. The UID is not provided when the element is cloned for example if ( ! isset( $elementData[ 'uid' ] ) ) { $elementData[ 'uid' ] = zn_uid( 'eluid' ); } if ( ! empty( $this->instantiated_modules[ $elementData[ 'uid' ] ] ) ) { $elementInstance = $this->instantiated_modules[ $elementData[ 'uid' ] ]; } else { // Create a new instance of the element // get an instance of the element $elementInstance = $this->getElementInstance( $elementData ); } return $elementInstance; }
echo '<div class="zn_pb_wrapper clearfix zn_sortable_content" data-droplevel="0">'; echo do_shortcode( $html ); echo '</div>'; } /** * @TODO: move to elements manager * @param [type] $element [description] * @param mixed $elements * @return [type] [description] */ function renderContent( $elements ) { if ( ! empty( $elements[ 'has_multiple' ] ) ) { unset( $elements[ 'has_multiple' ] ); foreach ( $elements as $key => $value ) { $this->renderElements( $value ); } } else { $this->renderElements( $elements ); } } /** * Renders an area without displaying the content edit bar * @param array $elements The array containing elements that needs to be displayed * @param bool|int $area_id Area ID or false in case no area ID is passed * @return string HTML data for the requested area */ function renderUneditableContent( $elements, $area_id = false ) { $pbstate = ZNB()->utility->isActiveEditor(); $html = ''; if ( $pbstate ) { // Set editor to disabled add_filter( 'znb:isActiveEditor', array( $this, 'disableActiveEditor' ) ); remove_action( 'znb:before_element_render', array( ZNB()->builder, 'beforeElement' ) ); remove_action( 'znb:after_element_render', array( ZNB()->builder, 'afterElement' ) ); // Show an ediy smart area link
return $element_data; } /** * @TODO: move to elements manager * @param [type] $element [description] * @param mixed $area * @return [type] [description] */ function renderContentByArea( $area = 'main_area' ) { // The area should have already been configured if ( empty( $this->_registered_layout_areas[ $area ] ) ) { return; } // Render the layout. ob_start(); $this->renderContent( $this->_registered_layout_areas[ $area ][ 'layout_data' ] ); $html = ob_get_clean(); $html = apply_filters( 'znpb_area_content', $html, $area ); echo '<div class="zn_pb_wrapper clearfix zn_sortable_content" data-droplevel="0">'; echo do_shortcode( $html ); echo '</div>'; } /** * @TODO: move to elements manager * @param [type] $element [description] * @param mixed $elements * @return [type] [description] */ function renderContent( $elements ) { if ( ! empty( $elements[ 'has_multiple' ] ) ) { unset( $elements[ 'has_multiple' ] ); foreach ( $elements as $key => $value ) { $this->renderElements( $value );
<?php get_header(); // We don't need to perform the loop as it will be made by the archive elements if( is_archive() || is_home() ){ ZNB()->frontend->renderContentByArea(); } else{ while ( have_posts() ) : the_post(); ZNB()->frontend->renderContentByArea(); endwhile; } get_footer();
} break; } } if ( ! $template ) { $template = get_index_template(); } /** * Filters the path of the current template before including it. * * @since 3.0.0 * * @param string $template The path of the template to include. */ $template = apply_filters( 'template_include', $template ); if ( $template ) { include $template; } elseif ( current_user_can( 'switch_themes' ) ) { $theme = wp_get_theme(); if ( $theme->errors() ) { wp_die( $theme->errors() ); } } return; }
"/home/ris3w8/public_html/wp-content/themes/kallyas/framework/zion-builder/inc/index-page-builder.php"
<?php /** * Loads the WordPress environment and template. * * @package WordPress */ if ( ! isset( $wp_did_header ) ) { $wp_did_header = true; // Load the WordPress library. require_once __DIR__ . '/wp-load.php'; // Set up the WordPress query. wp(); // Load the theme template. require_once ABSPATH . WPINC . '/template-loader.php'; }
"/home/ris3w8/public_html/wp-includes/template-loader.php"
<?php /** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */ /** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ define( 'WP_USE_THEMES', true ); /** Loads the WordPress Environment and Template */ require __DIR__ . '/wp-blog-header.php';
"/home/ris3w8/public_html/wp-blog-header.php"
Key | Value |
SERVER_SOFTWARE | "Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips"
|
REQUEST_URI | "/"
|
CONTEXT_DOCUMENT_ROOT | "/home/ris3w8/public_html"
|
CONTEXT_PREFIX | "" |
DOCUMENT_ROOT | "/home/ris3w8/public_html"
|
GATEWAY_INTERFACE | "CGI/1.1"
|
HTTPS | "on"
|
HTTP_ACCEPT | "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
|
HTTP_ACCEPT_LANGUAGE | "en-US,en;q=0.5"
|
HTTP_AUTHORIZATION | "" |
HTTP_CONNECTION | "close"
|
HTTP_HOST | "ris3.w8.thegecocompany.com"
|
HTTP_USER_AGENT | "CCBot/2.0 (https://commoncrawl.org/faq/)"
|
HTTP_X_FORWARDED_FOR | "18.206.48.243"
|
HTTP_X_FORWARDED_HOST | "ris3.w8.thegecocompany.com"
|
HTTP_X_FORWARDED_PROTO | "https"
|
HTTP_X_FORWARDED_SERVER | "ris3.w8.thegecocompany.com"
|
HTTP_X_REAL_IP | "18.206.48.243"
|
PATH | "/bin:/usr/bin:/usr/local/php/bin"
|
PHPRC | "/home/ris3w8"
|
QUERY_STRING | "" |
REDIRECT_STATUS | "200"
|
REMOTE_ADDR | "18.206.48.243"
|
REMOTE_PORT | "37658"
|
REQUEST_METHOD | "GET"
|
REQUEST_SCHEME | "https"
|
SCRIPT_FILENAME | "/home/ris3w8/public_html/index.php"
|
SCRIPT_NAME | "/index.php"
|
SERVER_ADDR | "75.119.154.41"
|
SERVER_ADMIN | "webmaster@ris3.w8.thegecocompany.com"
|
SERVER_NAME | "ris3.w8.thegecocompany.com"
|
SERVER_PORT | "443"
|
SERVER_PROTOCOL | "HTTP/1.0"
|
SERVER_SIGNATURE | "" |
UNIQUE_ID | "ZW1IcVm0CUhRpun25zJBqQAAANg"
|
PHP_SELF | "/index.php"
|
REQUEST_TIME_FLOAT | 1701660785.0775
|
REQUEST_TIME | 1701660785
|