About 881 results: "php link repo:sergiohzlz/reportaprod"
Page 5 of 45
Filter Results
Sources
Languages
Filter Results
Try Search On
attachment.php in reportaprod https://bitbucket.org/sergiohzlz/reportaprod | 50 lines | PHP
  1. 
                        
  2. 			<h2 class="page-title"><a href="<?php echo get_permalink($post->post_parent) ?>" rev="attachment"><?php echo get_the_title($post->post_parent) ?></a></h2>
  3. 				<div class="entry-content">
  4. 					<div class="entry-attachment"><?php the_attachment_link($post->post_ID, true) ?></div>
  5. 
                        
  6. <?php wp_link_pages("\t\t\t\t\t<div class='page-link'>".__('Pages: ', 'sandbox'), "</div>\n", 'number'); ?>
  7. 				<div class="entry-meta">
  8. 					<?php printf(__('This entry was written by %1$s and posted on <abbr class="published" title="%2$sT%3$s">%4$s at %5$s</abbr>. Bookmark the <a href="%6$s" title="Permalink to %7$s" rel="bookmark">permalink</a>. Follow any comments here with the <a href="%8$s" title="Comments RSS to %7$s" rel="alternate" type="application/rss+xml">RSS feed for this post</a>.', 'sandbox'),
  9. 						'<span class="author vcard"><a class="url fn n" href="'.get_author_link(false, $authordata->ID, $authordata->user_nicename).'" title="' . sprintf(__('View all posts by %s', 'sandbox'), $authordata->display_name) . '">'.get_the_author().'</a></span>',
  10. <?php elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) : // Only trackbacks open ?>
  11. 					<?php printf(__('Comments are closed, but you can leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'sandbox'), get_trackback_url()) ?>
  12. <?php elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) : // Only comments open ?>
  13. 					<?php printf(__('Trackbacks are closed, but you can <a class="comment-link" href="#respond" title="Post a comment">post a comment</a>.', 'sandbox')) ?>
  14. <?php endif; ?>
  15. <?php edit_post_link(__('Edit', 'sandbox'), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>"); ?>

image.php in reportaprod https://bitbucket.org/sergiohzlz/reportaprod | 113 lines | PHP
  1. 								$metadata = wp_get_attachment_metadata();
  2. 								printf( __( '<span class="meta-prep meta-prep-entry-date">Published </span> <span class="entry-date"><abbr class="published" title="%1$s">%2$s</abbr></span>  at <a href="%3$s" title="Link to full-size image">%4$s &times; %5$s</a> in <a href="%6$s" title="Return to %7$s" rel="gallery">%7$s</a>', 'coraline' ),
  3. 									$metadata['height'],
  4. 									get_permalink( $post->post_parent ),
  5. 						?>
  6. 							<?php edit_post_link( __( 'Edit', 'coraline' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
  7. 							$metadata = wp_get_attachment_metadata();
  8. 							printf( __( '<span class="meta-prep meta-prep-entry-date">Uploaded </span> at <a href="%1$s" title="Link to full-size image">%2$s &times; %3$s</a>', 'coraline' ),
  9. 						?>
  10. 							<?php edit_post_link( __( 'Edit', 'coraline' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
  11. 					<div id="image-navigation" class="entry-meta">
  12. 						<span class="previous-image"><?php previous_image_link( false, __( '&larr; Previous' , 'coraline' ) ); ?></span>
  13. 						<span class="next-image"><?php next_image_link( false, __( 'Next &rarr;' , 'coraline' ) ); ?></span>
  14. 					</div><!-- #image-navigation -->
  15. 	 * Grab the IDs of all the image attachments in a gallery so we can get the URL of the next adjacent image in a gallery,
  16. 	 * or the first image (if we're looking at the last image in a gallery), or, in a gallery of one, just the link to that image file

loop.php in reportaprod https://bitbucket.org/sergiohzlz/reportaprod | 154 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', 'coraline' ) ); ?></div>
  3. 		<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'coraline' ) ); ?></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 printf( esc_attr__( 'Permalink to %s', 'coraline' ), 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. 						<p><em><?php printf( __( 'This gallery contains <a %1$s>%2$s photos</a>.', 'coraline' ),
  10. 								'href="' . get_permalink() . '" title="' . sprintf( esc_attr__( 'Permalink to %s', 'coraline' ), the_title_attribute( 'echo=0' ) ) . '" rel="bookmark"',
  11. 			<div class="entry-info">
  12. 				<span class="comments-link"><?php comments_popup_link( __( '&rarr; Leave a comment', 'coraline' ), __( '&rarr; 1 Comment', 'coraline' ), __( '&rarr; % Comments', 'coraline' ) ); ?></span>
  13. 			?>
  14. 				<p><a href="<?php echo get_term_link( $cat_slug, 'category' ); ?>" title="<?php esc_attr_e( 'View posts in the Gallery category', 'coraline' ); ?>"><?php _e( 'More Galleries', 'coraline' ); ?></a></p>
  15. 
                        
  16. 				<p><?php edit_post_link( __( 'Edit', 'coraline' ), '', '' ); ?></p>









tools.php in reportaprod https://bitbucket.org/sergiohzlz/reportaprod | 72 lines | PHP
  1. 	'title'   => __('Press This'),
  2. 	'content' => '<p>' . __('Press This is a bookmarklet that makes it easy to blog about something you come across on the web. You can use it to just grab a link, or to post an excerpt. Press This will even allow you to choose from images included on the page and use them in your post. Just drag the Press This link on this screen to your bookmarks bar in your browser, and you&#8217;ll be on your way to easier content creation. Clicking on it while on another website opens a popup window with all these options.') . '</p>',
  3. 	'content' => '<p>' . __('Categories have hierarchy, meaning that you can nest sub-categories. Tags do not have hierarchy and cannot be nested. Sometimes people start out using one on their posts, then later realize that the other would work better for their content.' ) . '</p>' .
  4. 	'<p>' . __( 'The Categories and Tags Converter link on this screen will take you to the Import screen, where that Converter is one of the plugins you can install. Once that plugin is installed, the Activate Plugin &amp; Run Importer link will take you to a screen where you can choose to convert tags into categories or vice versa.' ) . '</p>',
  5. 	<p><?php _e('Use Press This to clip text, images and videos from any web page. Then edit and add more straight from Press This before you save or publish it in a post on your site.'); ?></p>
  6. 	<p class="description"><?php _e('Drag-and-drop the following link to your bookmarks bar or right click it and add it to your favorites for a posting shortcut.') ?></p>
  7. 	<p class="pressthis"><a onclick="return false;" oncontextmenu="if(window.navigator.userAgent.indexOf('WebKit')!=-1||window.navigator.userAgent.indexOf('MSIE')!=-1)jQuery('.pressthis-code').show().find('textarea').focus().select();return false;" href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>"><span><?php _e('Press This') ?></span></a></p>
  8. 	<div class="pressthis-code" style="display:none;">
  9. 	<p class="description"><?php _e('If your bookmarks toolbar is hidden: copy the code below, open your Bookmarks manager, create new bookmark, type Press This into the name field and paste the code into the URL field.') ?></p>
  10. 	<p><textarea rows="5" cols="120" readonly="readonly"><?php echo htmlspecialchars( get_shortcut_link() ); ?></textarea></p>



image.php in reportaprod https://bitbucket.org/sergiohzlz/reportaprod | 44 lines | PHP
  1. 
                        
  2. 			<h2 class="page-title"><a href="<?php echo get_permalink( $post->post_parent ); ?>" title="<?php echo esc_attr( sprintf( __( 'Return to %s', 'notesil' ), get_the_title( $post->post_parent ) ) ); ?>" rev="attachment"><?php echo get_the_title( $post->post_parent ); ?></a></h2>
  3. 				<div id="nav-images" class="navigation">
  4. 					<div class="nav-previous"><?php previous_image_link(); ?></div>
  5. 					<div class="nav-next"><?php next_image_link(); ?></div>
  6. 				</div>
  7. <?php if ( ( 'open' == $post->comment_status) && ( 'open' == $post->ping_status) ) : // Comments and trackbacks open ?>
  8. 					<?php printf( __( '<a class="comment-link" href="#respond" title="Post a comment">Post a comment</a> or leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'notesil' ), get_trackback_url() ); ?>
  9. <?php elseif ( !( 'open' == $post->comment_status) && ( 'open' == $post->ping_status) ) : // Only trackbacks open ?>
  10. 					<?php printf( __( 'Comments are closed, but you can leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'notesil' ), get_trackback_url() ); ?>
  11. <?php elseif ( ( 'open' == $post->comment_status) && !( 'open' == $post->ping_status) ) : // Only comments open ?>
  12. 					<?php _e( 'Trackbacks are closed, but you can <a class="comment-link" href="#respond" title="Post a comment">post a comment</a>.', 'notesil' ); ?>
  13. <?php endif; ?>
  14. <?php edit_post_link( __( 'Edit', 'notesil' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ); ?>

attachment.php in reportaprod https://bitbucket.org/sergiohzlz/reportaprod | 49 lines | PHP
  1. 
                        
  2. 			<h2 class="page-title"><a href="<?php echo get_permalink( $post->post_parent ); ?>" title="<?php echo esc_attr( sprintf( __( 'Return to %s', 'notesil' ), get_the_title( $post->post_parent ) ) ); ?>" rev="attachment"><?php echo get_the_title( $post->post_parent ); ?></a></h2>
  3. 				<div class="entry-meta">
  4. 					<?php printf( __( 'Posted by %1$s on <abbr class="published" title="%2$sT%3$s">%4$s at %5$s</abbr>. Bookmark the <a href="%6$s" title="Permalink to %7$s" rel="bookmark">permalink</a>. Follow any comments here with the <a href="%8$s" title="Comments RSS to %7$s" rel="alternate" type="application/rss+xml">RSS feed for this post</a>.', 'notesil' ),
  5. 						get_the_time(),
  6. 						get_permalink(),
  7. 						the_title_attribute( 'echo=0' ),
  8. 						get_post_comments_feed_link() ); ?>
  9. <?php if ( ( 'open' == $post->comment_status) && ( 'open' == $post->ping_status) ) : // Comments and trackbacks open ?>
  10. 					<?php printf( __( '<a class="comment-link" href="#respond" title="Post a comment">Post a comment</a> or leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'notesil' ), get_trackback_url() ); ?>
  11. <?php elseif ( !( 'open' == $post->comment_status) && ( 'open' == $post->ping_status) ) : // Only trackbacks open ?>
  12. 					<?php printf( __( 'Comments are closed, but you can leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'notesil' ), get_trackback_url() ); ?>
  13. <?php elseif ( ( 'open' == $post->comment_status) && !( 'open' == $post->ping_status) ) : // Only comments open ?>
  14. 					<?php _e( 'Trackbacks are closed, but you can <a class="comment-link" href="#respond" title="Post a comment">post a comment</a>.', 'notesil' ); ?>
  15. <?php endif; ?>
  16. <?php edit_post_link( __( 'Edit', 'notesil' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ); ?>


image.php in reportaprod https://bitbucket.org/sergiohzlz/reportaprod | 45 lines | PHP
  1. 
                        
  2. 			<h2 class="page-title"><a href="<?php echo get_permalink($post->post_parent) ?>" title="<?php echo esc_attr( sprintf( __( 'Return to %s', 'sandbox' ), get_the_title( $post->post_parent ) ) ); ?>" rev="attachment"><?php echo get_the_title($post->post_parent) ?></a></h2>
  3. 				<div id="nav-images" class="navigation">
  4. 					<div class="nav-previous"><?php previous_image_link() ?></div>
  5. 					<div class="nav-next"><?php next_image_link() ?></div>
  6. 				</div>
  7. <?php if ( ('open' == $post->comment_status) && ('open' == $post->ping_status) ) : // Comments and trackbacks open ?>
  8. 					<?php printf( __( '<a class="comment-link" href="#respond" title="Post a comment">Post a comment</a> or leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'sandbox' ), get_trackback_url() ) ?>
  9. <?php elseif ( !('open' == $post->comment_status) && ('open' == $post->ping_status) ) : // Only trackbacks open ?>
  10. 					<?php printf( __( 'Comments are closed, but you can leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'sandbox' ), get_trackback_url() ) ?>
  11. <?php elseif ( ('open' == $post->comment_status) && !('open' == $post->ping_status) ) : // Only comments open ?>
  12. 					<?php _e( 'Trackbacks are closed, but you can <a class="comment-link" href="#respond" title="Post a comment">post a comment</a>.', 'sandbox' ) ?>
  13. <?php endif; ?>
  14. <?php edit_post_link( __( 'Edit', 'sandbox' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ) ?>

attachment.php in reportaprod https://bitbucket.org/sergiohzlz/reportaprod | 49 lines | PHP
  1. 
                        
  2. 			<h2 class="page-title"><a href="<?php echo get_permalink($post->post_parent) ?>" title="<?php echo esc_attr( sprintf( __( 'Return to %s', 'sandbox' ), get_the_title( $post->post_parent ) ) ); ?>" rev="attachment"><?php echo get_the_title($post->post_parent) ?></a></h2>
  3. 				<div class="entry-meta">
  4. 					<?php printf( __( 'Posted by %1$s on <abbr class="published" title="%2$sT%3$s">%4$s at %5$s</abbr>. Bookmark the <a href="%6$s" title="Permalink to %7$s" rel="bookmark">permalink</a>. Follow any comments here with the <a href="%8$s" title="Comments RSS to %7$s" rel="alternate" type="application/rss+xml">RSS feed for this post</a>.', 'sandbox' ),
  5. 						'<span class="author vcard"><a class="url fn n" href="' . get_author_link( false, $authordata->ID, $authordata->user_nicename ) . '" title="' . sprintf( __( 'View all posts by %s', 'sandbox' ), $authordata->display_name ) . '">' . get_the_author() . '</a></span>',
  6. 						get_the_time('Y-m-d'),
  7. 						get_the_time(),
  8. 						get_permalink(),
  9. <?php if ( ('open' == $post->comment_status) && ('open' == $post->ping_status) ) : // Comments and trackbacks open ?>
  10. 					<?php printf( __( '<a class="comment-link" href="#respond" title="Post a comment">Post a comment</a> or leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'sandbox' ), get_trackback_url() ) ?>
  11. <?php elseif ( !('open' == $post->comment_status) && ('open' == $post->ping_status) ) : // Only trackbacks open ?>
  12. 					<?php printf( __( 'Comments are closed, but you can leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'sandbox' ), get_trackback_url() ) ?>
  13. <?php elseif ( ('open' == $post->comment_status) && !('open' == $post->ping_status) ) : // Only comments open ?>
  14. 					<?php _e( 'Trackbacks are closed, but you can <a class="comment-link" href="#respond" title="Post a comment">post a comment</a>.', 'sandbox' ) ?>
  15. <?php endif; ?>
  16. <?php edit_post_link( __( 'Edit', 'sandbox' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ) ?>

image.php in reportaprod https://bitbucket.org/sergiohzlz/reportaprod | 45 lines | PHP
  1. 
                        
  2. 			<h2 class="page-title"><a href="<?php echo get_permalink($post->post_parent) ?>" title="<?php echo esc_attr( sprintf( __( 'Return to %s', 'sandbox' ), get_the_title( $post->post_parent ) ) ); ?>" rev="attachment"><?php echo get_the_title($post->post_parent) ?></a></h2>
  3. 				<div id="nav-images" class="navigation">
  4. 					<div class="nav-previous"><?php previous_image_link() ?></div>
  5. 					<div class="nav-next"><?php next_image_link() ?></div>
  6. 				</div>
  7. <?php if ( ('open' == $post->comment_status) && ('open' == $post->ping_status) ) : // Comments and trackbacks open ?>
  8. 					<?php printf( __( '<a class="comment-link" href="#respond" title="Post a comment">Post a comment</a> or leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'sandbox' ), get_trackback_url() ) ?>
  9. <?php elseif ( !('open' == $post->comment_status) && ('open' == $post->ping_status) ) : // Only trackbacks open ?>
  10. 					<?php printf( __( 'Comments are closed, but you can leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'sandbox' ), get_trackback_url() ) ?>
  11. <?php elseif ( ('open' == $post->comment_status) && !('open' == $post->ping_status) ) : // Only comments open ?>
  12. 					<?php _e( 'Trackbacks are closed, but you can <a class="comment-link" href="#respond" title="Post a comment">post a comment</a>.', 'sandbox' ) ?>
  13. <?php endif; ?>
  14. <?php edit_post_link( __( 'Edit', 'sandbox' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ) ?>

Back to Top