About 218 results: "php link repo:abnopanda/wordpress"
Page 3 of 11
Filter Results
Sources
Languages
Filter Results
Try Search On


dashboard.php in wordpress https://bitbucket.org/abnopanda/wordpress.git | 1280 lines | PHP
  1. 
                        
  2. 	// Incoming Links Widget
  3. 	if ( is_blog_admin() && current_user_can('publish_posts') ) {
  4. 		if ( !isset( $widget_options['dashboard_incoming_links'] ) || !isset( $widget_options['dashboard_incoming_links']['home'] ) || $widget_options['dashboard_incoming_links']['home'] != get_option('home') ) {
  5. 			$update = true;
  6. 			$num_items = isset($widget_options['dashboard_incoming_links']['items']) ? $widget_options['dashboard_incoming_links']['items'] : 10;
  7. 			$widget_options['dashboard_incoming_links'] = array(
  8. 				'home' => get_option('home'),
  9. 				'link' => apply_filters( 'dashboard_incoming_links_link', 'http://blogsearch.google.com/blogsearch?scoring=d&partner=wordpress&q=link:' . trailingslashit( get_option('home') ) ),
  10. 				'url' => isset($widget_options['dashboard_incoming_links']['url']) ? apply_filters( 'dashboard_incoming_links_feed', $widget_options['dashboard_incoming_links']['url'] ) : apply_filters( 'dashboard_incoming_links_feed', 'http://blogsearch.google.com/blogsearch_feeds?scoring=d&ie=utf-8&num=' . $num_items . '&output=rss&partner=wordpress&q=link:' . trailingslashit( get_option('home') ) ),
  11. 	foreach ( $dashboard_widgets as $widget_id ) {
  12. 		$name = empty( $wp_registered_widgets[$widget_id]['all_link'] ) ? $wp_registered_widgets[$widget_id]['name'] : $wp_registered_widgets[$widget_id]['name'] . " <a href='{$wp_registered_widgets[$widget_id]['all_link']}' class='edit-box open-box'>" . __('View all') . '</a>';
  13. 	if ( !is_network_admin() && !is_user_admin() && current_user_can('manage_options') && '1' != get_option('blog_public') ) {
  14. 		$title = apply_filters('privacy_on_link_title', __('Your site is asking search engines not to index its content') );
  15. 		$content = apply_filters('privacy_on_link_text', __('Search Engines Discouraged') );
  16. 
                        





loop.php in wordpress https://bitbucket.org/abnopanda/wordpress.git | 182 lines | PHP
  1. 	<div id="nav-above" class="navigation">
  2. 		<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'twentyten' ) ); ?></div>
  3. 		<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?></div>
  4. 	</div><!-- #nav-above -->
  5. 		<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  6. 			<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
  7. 						<div class="gallery-thumb">
  8. 							<a class="size-thumbnail" href="<?php the_permalink(); ?>"><?php echo $image_img_tag; ?></a>
  9. 		<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  10. 			<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
  11. 				<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?>
  12. 				<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
  13. 				<?php if ( count( get_the_category() ) ) : ?>
  14. 					<span class="cat-links">
  15. 						<?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?>
  16. 					</span>













Back to Top