stuartirene
Forum Replies Created
-
Hi,
Thanks. Will try it. How about the final step, which is adding the variable “$all_images[0]” and “$all_images = $matches[0];”. Do you know where shall I shot it? Thanks.
Hi Jennybeaumont,
Thanks for your reply. Still haven’t got a clue yet but I was thinking of slotting your code:
preg_match_all(‘/<img([^>]*)>/i’, $item->get_content(), $matches);
// Get all of the image tagsinto:
foreach ( $items as $item ):
$item_date = $item->get_date(‘l jS F (Y-m-d)’);
if ( $item_date == date(‘l jS F (Y-m-d)’, strtotime(‘today’) ) ) {
$items_today[] = $item;
}
else if ( $item_date == date(‘l jS F (Y-m-d)’, strtotime(‘yesterday’) ) ) {
$items_yesterday[] = $item;
}
else if ( $item_date == date(‘l jS F (Y-m-d)’, strtotime(‘-2 days’) ) ) {
$items_two_days_ago[] = $item;
}
else {
$items_older[] = $item;
}HERE!
endforeach;
Not so sure if it’s correct. However for the final step, $all_images[0], I’m lost 🙁
Anyway, hope to hear from you once you’re back from traveling. See you and many thanks.
Hi there,
I’ve read Jenny’s solution on adding thumbnail but would like to know in specific location of adding those codes to wp-rss-aggregator.php.
I’m not so sure of where to insert the following codes to wp-rss-aggregator.php?
1) preg_match_all(‘/<img([^>]*)>/i’, $item->get_content(), $matches);
// Get all of the image tags2) $all_images = $matches[0];
Could anyone please guide me on these? Many thanks.
hi there,
As I’m not good in coding, could anyone guide me on the specific location in the php files to place the codes as suggested above? Many thanks.
Forum: Themes and Templates
In reply to: Split post titles by category in main pageHi stvwlf,
Thanks. That’s exactly what I’m looking for but however, I would like to subscribe with support, which is not available now. Anyway, please let me know if the similar theme is available in the future. Thanks.
Regards
Forum: Themes and Templates
In reply to: WordPress IPB IntegrationHi everyone,
I’m looking for the same solution as well…. anyone could help? Thanks.
Forum: Fixing WordPress
In reply to: LinkWithin Not Showing Most PostsHi any recommended plugin, which is similar to Linkwithin? Thanks.
Forum: Fixing WordPress
In reply to: LinkWithin Not Showing Most PostsI’ve the same problem too as LW only show my oldest 3 not-related post for every posts and also not showing appearing thumbnail in the link. I’ve sent email to their support but not getting any reply from them. Can anyone please help? Thanks.
Forum: Plugins
In reply to: Add Local Avatars – Problem with changing avatar size!Hi, just realised that it only happened to mystery man and gravatar logo only. Thanks.
I’ve read the same message from Frugal Jen and finally got my feedburner to work. However, I quite like sexybookmarks, does anyone know any work around on sexybookmarks in order to be compatible?
Forum: Plugins
In reply to: Add Local Avatars – Problem with changing avatar size!I’ve waited for 5 days already but doesn’t seem to get any reply. Anyone who could please help? Thanks.
Forum: Themes and Templates
In reply to: Split single content column to 2 columns in Twenty TenHi David,
Thanks for your reply again.
I didn’t make much changes to your original style.css and loop-columns.php. The following are the only changes that I’ve made:
Style.CSS
1) Added Clear: both; to .column-left. This is to align all the posts vertically.loop-columns.php
1) Changed from:
<?php if ( is_archive() || is_search() ) : // Only display excerpts for archives and search. ?>To:
<?php if ( is_home() || is_front_page() || is_archive() || is_search() ) : // Display excerpts for home, archives and search.
global $more; $more = -1; //declare and set $more to show all, for uneffected excerpts ?>This is to include excerpt and thumbnail in the front page.
2) Changed from:
<div class=”entry-summary”>To:
<div class=”entry-summary” style=”height:190px; overflow:hidden;”>This is to align all the post horizontally means to park left and right column posts side by side.
3) To hide the post tag:
/* Commented $tags_list = get_the_tag_list( ”, ‘, ‘ ) */;Thanks again David, you’re really helpful.
Regards,
StuartForum: Themes and Templates
In reply to: Split single content column to 2 columns in Twenty TenHi David,
Its finally WORKS!!!
Thank you so much.By the way, if I want to insert the alternative method in loop-columns.php, may I know which part of the file can I insert “<div class=”entry-summary” style=”height:190px; overflow:hidden;”>”?
Also, I’m quite interested in the column outlook of your file, http://digitalraindrops.net/demo/wordpress/plasiticity2010/sports/ as it has different column for each category and at the same time having latest post being on the top with thumbnail and titles of previous posts being at the bottom, which is really cool! Please let me know if you have any tutorial on this and will try this whenever I’m free again :). Many thanks and have a nice weekend.
Regards,
StuartForum: Themes and Templates
In reply to: Split single content column to 2 columns in Twenty TenHi David,
I have shortened the title post in the first page and have removed the tag in the post footer but still the alignment is off for some post as they are not parked side by side. Please help! Many thanks.
Stuart
Forum: Themes and Templates
In reply to: Split single content column to 2 columns in Twenty TenHi alcnymyth and David,
Yes! managed to get the Older Posts button back to normal.
Do you know how could I park my post title “Free WiFi Access for Tourist information” side by side with “National Day Fireworks Display 2010 – 1 Oct 2010”?
Also, seems like my post titles “Lan Kwai Fong Carnival (14 & 15 Nov 2010)” and “Ngong Ping 360 Night Ride (22 Sep 2010 – 25 Sep 2010)” are floating towards right and not align with the top posts. Any solution?
Many thanks.