About 94 results: "php link repo:AFelipeTrujillo/GoBlog"
Page 1 of 5
Filter Results
Sources
Languages
Filter Results
Try Search On












meta-boxes.php in GoBlog https://bitbucket.org/AFelipeTrujillo/goblog | 1086 lines | PHP
  1. if ( 'publish' == $post->post_status ) {
  2. 	$preview_link = esc_url( get_permalink( $post->ID ) );
  3. } else {
  4. 	$preview_link = set_url_scheme( get_permalink( $post->ID ) );
  5. 	 *
  6. 	 * @param string $preview_link URI the user will be directed to for a post preview.
  7. 	 */
  8. 	$preview_link = esc_url( apply_filters( 'preview_post_link', add_query_arg( 'preview', 'true', $preview_link ) ) );
  9. ?>
  10. <a class="preview button" href="<?php echo $preview_link; ?>" target="wp-preview-<?php echo (int) $post->ID; ?>" id="post-preview"><?php echo $preview_button; ?></a>
  11. ?>
  12. 	<a class="hide-if-no-js" href="<?php echo esc_url( get_edit_post_link( $args['args']['revision_id'] ) ); ?>"><span aria-hidden="true"><?php _ex( 'Browse', 'revisions' ); ?></span> <span class="screen-reader-text"><?php _e( 'Browse revisions' ); ?></span></a>
  13. <?php if ( $user_can_assign_terms ) : ?>
  14. <p class="hide-if-no-js"><a href="#titlediv" class="tagcloud-link" id="link-<?php echo $tax_name; ?>"><?php echo $taxonomy->labels->choose_from_most_used; ?></a></p>
  15. <p><label for="trackback_url"><?php _e('Send trackbacks to:'); ?></label> <?php echo $form_trackback; ?><br /> (<?php _e('Separate multiple URLs with spaces'); ?>)</p>
  16. <p><?php _e('Trackbacks are a way to notify legacy blog systems that you&#8217;ve linked to them. If you link other WordPress sites they&#8217;ll be notified automatically using <a href="http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" target="_blank">pingbacks</a>, no other action necessary.'); ?></p>








Back to Top