X7ROOT File Manager
Current Path:
/home/notabjze/starbudzca.com/wp-content/plugins/jetpack/modules/shortcodes
home
/
notabjze
/
starbudzca.com
/
wp-content
/
plugins
/
jetpack
/
modules
/
shortcodes
/
ðŸ“
..
📄
archiveorg-book.php
(3.31 KB)
📄
archiveorg.php
(3.92 KB)
📄
archives.php
(2.38 KB)
📄
bandcamp.php
(7.75 KB)
📄
brightcove.php
(8.77 KB)
📄
cartodb.php
(803 B)
📄
class.filter-embedded-html-objects.php
(13.01 KB)
📄
codepen.php
(265 B)
📄
crowdsignal.php
(21.6 KB)
ðŸ“
css
📄
dailymotion.php
(15.27 KB)
📄
descript.php
(3 KB)
📄
facebook.php
(4.41 KB)
📄
flatio.php
(383 B)
📄
flickr.php
(9.29 KB)
📄
getty.php
(7.54 KB)
📄
gist.php
(8.31 KB)
📄
googleapps.php
(9.84 KB)
📄
googlemaps.php
(7.97 KB)
📄
googleplus.php
(1.03 KB)
📄
gravatar.php
(6.13 KB)
📄
houzz.php
(920 B)
ðŸ“
images
ðŸ“
img
📄
inline-pdfs.php
(1.14 KB)
📄
instagram.php
(14.5 KB)
ðŸ“
js
📄
kickstarter.php
(2.39 KB)
📄
mailchimp.php
(7.03 KB)
📄
medium.php
(3.22 KB)
📄
mixcloud.php
(3.62 KB)
📄
others.php
(2.06 KB)
📄
pinterest.php
(1.79 KB)
📄
presentations.php
(14.53 KB)
📄
quiz.php
(9.16 KB)
📄
recipe.php
(18.95 KB)
📄
scribd.php
(2.45 KB)
📄
sitemap.php
(562 B)
📄
slideshare.php
(3.81 KB)
📄
slideshow.php
(8.93 KB)
📄
smartframe.php
(3.64 KB)
📄
soundcloud.php
(8.68 KB)
📄
spotify.php
(3.26 KB)
📄
ted.php
(3.35 KB)
📄
tweet.php
(5.03 KB)
📄
twitchtv.php
(2.63 KB)
📄
twitter-timeline.php
(1.93 KB)
📄
unavailable.php
(3.24 KB)
📄
untappd-menu.php
(2.41 KB)
📄
upcoming-events.php
(1.68 KB)
📄
ustream.php
(3.13 KB)
📄
videopress.php
(423 B)
📄
vimeo.php
(11.13 KB)
📄
vine.php
(2.61 KB)
📄
vr.php
(4.92 KB)
📄
wordads.php
(1.81 KB)
📄
wufoo.php
(3.38 KB)
📄
youtube.php
(20.73 KB)
Editing: archives.php
<?php /** * Archives shortcode * * @author bubel & nickmomrik * [archives limit=10] * * @package automattic/jetpack */ add_shortcode( 'archives', 'archives_shortcode' ); /** * Display Archives shortcode. * * @param array $atts Shortcode attributes. */ function archives_shortcode( $atts ) { if ( is_feed() ) { return '[archives]'; } global $allowedposttags; $default_atts = array( 'type' => 'postbypost', 'limit' => '', 'format' => 'html', 'showcount' => false, 'before' => '', 'after' => '', 'order' => 'desc', ); $attr = shortcode_atts( $default_atts, $atts, 'archives' ); if ( ! in_array( $attr['type'], array( 'yearly', 'monthly', 'daily', 'weekly', 'postbypost' ), true ) ) { $attr['type'] = 'postbypost'; } if ( ! in_array( $attr['format'], array( 'html', 'option', 'custom' ), true ) ) { $attr['format'] = 'html'; } $limit = (int) $attr['limit']; // A Limit of 0 makes no sense so revert back to the default. if ( empty( $limit ) ) { $limit = ''; } $showcount = ( false !== $attr['showcount'] && 'false' !== $attr['showcount'] ) ? true : false; $before = wp_kses( $attr['before'], $allowedposttags ); $after = wp_kses( $attr['after'], $allowedposttags ); // Get the archives. $archives = wp_get_archives( array( 'type' => $attr['type'], 'limit' => $limit, 'format' => $attr['format'], 'echo' => false, 'show_post_count' => $showcount, 'before' => $before, 'after' => $after, ) ); if ( 'asc' === $attr['order'] ) { $archives = implode( "\n", array_reverse( explode( "\n", $archives ) ) ); } // Check to see if there are any archives. if ( empty( $archives ) ) { $archives = '<p>' . __( 'Your blog does not currently have any published posts.', 'jetpack' ) . '</p>'; } elseif ( 'option' === $attr['format'] ) { $is_amp = class_exists( 'Jetpack_AMP_Support' ) && Jetpack_AMP_Support::is_amp_request(); $change_attribute = $is_amp ? 'on="change:AMP.navigateTo(url=event.value)"' : 'onchange="document.location.href=this.options[this.selectedIndex].value;"'; $archives = '<select name="archive-dropdown" ' . $change_attribute . '><option value="' . get_permalink() . '">--</option>' . $archives . '</select>'; } elseif ( 'html' === $attr['format'] ) { $archives = '<ul>' . $archives . '</ul>'; } return $archives; }
Upload File
Create Folder