installed plugin W3 Total Cache
version 2.3.2
This commit is contained in:
13
wp-content/plugins/w3-total-cache/inc/widget/latest.php
Normal file
13
wp-content/plugins/w3-total-cache/inc/widget/latest.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
namespace W3TC;
|
||||
|
||||
if ( ! defined( 'W3TC' ) ) {
|
||||
die();
|
||||
}
|
||||
?>
|
||||
<p class="widget-loading hide-if-no-js {nonce: '<?php echo esc_attr( wp_create_nonce( 'w3tc' ) ); ?>'}">
|
||||
<?php esc_html_e( 'Loading…', 'w3-total-cache' ); ?>
|
||||
</p>
|
||||
<p class="hide-if-js">
|
||||
<?php esc_html_e( 'This widget requires JavaScript.', 'w3-total-cache' ); ?>
|
||||
</p>
|
18
wp-content/plugins/w3-total-cache/inc/widget/latest_ajax.php
Normal file
18
wp-content/plugins/w3-total-cache/inc/widget/latest_ajax.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
namespace W3TC;
|
||||
|
||||
if ( ! defined( 'W3TC' ) ) {
|
||||
die();
|
||||
}
|
||||
?>
|
||||
<?php foreach ( $items as $item ) : ?>
|
||||
<h4>
|
||||
<a href="<?php echo esc_url( $item['link'] ); ?>">
|
||||
<?php echo esc_html( wp_strip_all_tags( $item['title'] ) ); ?>
|
||||
</a>
|
||||
</h4>
|
||||
<?php endforeach ?>
|
||||
|
||||
<p style="text-align: center;">
|
||||
<a href="<?php echo esc_url( W3TC_FEED_URL ); ?>" target="_blank">View Feed</a>
|
||||
</p>
|
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
namespace W3TC;
|
||||
|
||||
if ( !defined( 'W3TC' ) )
|
||||
die();
|
||||
|
||||
?>
|
||||
<p>
|
||||
<label>
|
||||
How many items would you like to display?
|
||||
<input type="text" name="w3tc_widget_latest_items" value="<?php echo esc_attr( $this->_config->get_integer( 'widget.latest.items' ) ); ?>" size="5" class="w3tc-ignore-change"/>
|
||||
</label>
|
||||
</p>
|
13
wp-content/plugins/w3-total-cache/inc/widget/latest_news.php
Normal file
13
wp-content/plugins/w3-total-cache/inc/widget/latest_news.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
namespace W3TC;
|
||||
|
||||
if ( ! defined( 'W3TC' ) ) {
|
||||
die();
|
||||
}
|
||||
?>
|
||||
<p class="widget-loading hide-if-no-js {nonce: '<?php echo esc_attr( wp_create_nonce( 'w3tc' ) ); ?>'}">
|
||||
<?php esc_html_e( 'Loading...', 'w3-total-cache' ); ?>
|
||||
</p>
|
||||
<p class="hide-if-js">
|
||||
<?php esc_html_e( 'This widget requires JavaScript.', 'w3-total-cache' ); ?>
|
||||
</p>
|
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
namespace W3TC;
|
||||
|
||||
if ( ! defined( 'W3TC' ) ) {
|
||||
die();
|
||||
}
|
||||
?>
|
||||
<?php foreach ( $items as $item ) : ?>
|
||||
<h4>
|
||||
<a href="<?php echo esc_url( $item['link'] ); ?>">
|
||||
<?php echo esc_html( wp_strip_all_tags( $item['title'] ) ); ?>
|
||||
</a>
|
||||
</h4>
|
||||
<?php endforeach ?>
|
||||
|
||||
<p style="text-align: center;">
|
||||
<a href="<?php echo esc_url( W3TC_NEWS_FEED_URL ); ?>" target="_blank">View Feed</a>
|
||||
</p>
|
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
namespace W3TC;
|
||||
|
||||
if ( !defined( 'W3TC' ) )
|
||||
die();
|
||||
|
||||
?>
|
||||
<p>
|
||||
<label>
|
||||
How many items would you like to display?
|
||||
<input type="text" name="w3tc_widget_latest_news_items" value="<?php echo esc_attr( $this->_config->get_integer( 'widget.latest_news.items' ) ); ?>" size="5" class="w3tc-ignore-change" />
|
||||
</label>
|
||||
</p>
|
Reference in New Issue
Block a user