Changeset 555 for trunk/xpressme_integration_kit
- Timestamp:
- Mar 17, 2010, 3:47:52 PM (15 years ago)
- Location:
- trunk/xpressme_integration_kit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/templates/source/global_popular_posts_block.html
r552 r555 20 20 <{$content.comment_link}> // Displays a link to the comments popup window if comments_popup_script() is used, otherwise it displays a normal link to comments. 21 21 <{$content.trackback_url}> // Displays the trackback URL for the current post. 22 <{$content.blog_link}> // Displays a permalink to the blog a comment belongs to. 23 <{$content.blog_title}> // Displays a title to the blog a comment belongs to. 24 <{$content.blog_title_link}> // Displays the blog's permalink, where the link text value is the posts title name. 22 25 <{/foreach}> // End of Loop 23 26 ************************* End of usage ************************ *}> -
trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/global_popular_posts_block_theme.php
r554 r555 32 32 switch_to_blog($blog['blog_id']); 33 33 $wp_rewrite->init(); 34 35 $blog_title = get_bloginfo('name'); 36 $blog_link = get_bloginfo('url'); 37 $blog_title_link = '<a href="' . $blog_link . '">' . $blog_title . '</a>' ; 34 38 35 39 $db_prefix = get_wp_prefix(); … … 149 153 $post_views_num = (int) xpress_post_views_count("post_id={$post_id}&format=%d&echo=0"); 150 154 $row_data = array( 155 'blog_title' => $blog_title , 156 'blog_link' => $blog_link , 157 'blog_title_link' => $blog_title_link , 151 158 'post_id' => $post_id , 152 159 'post_title' => $post_title ,
Note: See TracChangeset
for help on using the changeset viewer.