iceq
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Adding image to “read more” link under “limit post” pluginI am really thankful.
The code worked for two of my blogs perfectly. THe first code you posted (before youe edited, also worked).
Yet the third blog didnt go ok, despite its the same theme and the same code structure of the limit post plugin.
Using ur first code (before you edited it, without the alt tag) nothing appeared at all where the “read more” or the image should appear.
The second code that you edited however, managed to show only a “read more” text, but not the image.
What could the reason be ?
( theme is different in all of the blogs)
Forum: Fixing WordPress
In reply to: Adding image to “read more” link under “limit post” pluginHello. I thank you deeply for taking this clearly precious time to help me 🙂 Sadly though, nothing worked for me. I hope it is a mistake ive made.
As for the first solution, I did the following:
In the Index, I found:
<?php if(function_exists('the_content_limit')) { ?> <?php the_content_limit(500); ?>I replaced them with
<?php the_excerpt() ?> <span class="read_more"><a href="<?php the_permalink(); ?>"><img src="/al-rasid/personal/wp-content/uploads/more.gif" alt="read more" title="Read more..." /></a></span>Then, in functions.php, whose full content is:
<?php require_once(TEMPLATEPATH . '/controlpanel.php'); if ( function_exists('register_sidebars') ) register_sidebars(2); ?>just before the
?>', I added:function new_excerpt_length($length) { return 20; } add_filter('excerpt_length', 'new_excerpt_length');However, nothing works. It reports syntax errors all the time.
__________________________
With the second solution U suggested, I tried the following combinations, None of them worked, either give fatal error, or the post content doesnt load at all , though the full index show up.
echo "'><img src='"/al-rasid/personal/wp-content/uploads/more.gif"' alt='"read more"' title='"Read more..."' /></a></p>";echo "'><img src="/al-rasid/personal/wp-content/uploads/more.gif" alt='"read more"' title='"Read more..."' /></a></p>";echo "'><img src='/al-rasid/personal/wp-content/uploads/more.gif' alt='"read more"' title='"Read more..."' /></a></p>";echo "'>'<img src='"/al-rasid/personal/wp-content/uploads/more.gif"' alt='"read more"' title='"Read more..."' />'</a></p>";Thank you for replying. I am dead on this theme, there is no way I would abandon it after the great tweaks + improvements I made to it.
Could U please spare me more of ur time if you know how exactly should I do that ? I dont know about CSS, but I have the skills to identify the location of tags and change them as needed (using Firebug actually 🙂 )
Forum: Fixing WordPress
In reply to: Adding image to “read more” link under “limit post” pluginThank you my friend.
I tried your suggestion and a bunch of others, but none is working.Forum: Themes and Templates
In reply to: How to make these changes to my theme?This is actually a TOTAL mess .. I even couldnt recognize a “blog” in that page.. I would definitely change my theme if I were in ur boots.
Sorry for not providing an answer, ama newb too
Forum: Themes and Templates
In reply to: very strange image breaks with IE 7 (screenshots)UP (desperately)
Forum: Plugins
In reply to: a plugin that lets WP display 1 post from each cat in indexUP (desperately)
Forum: Plugins
In reply to: a plugin that lets WP display 1 post from each cat in indexUP
Forum: Themes and Templates
In reply to: very strange image breaks with IE 7 (screenshots)UP
Forum: Plugins
In reply to: a plugin that lets WP display 1 post from each cat in indexPLEASE !! ANYBODY ?
Forum: Themes and Templates
In reply to: very strange image breaks with IE 7 (screenshots)Oh Helloo
While searching (AGAIN), I found a solution suggesting adding “position:relative” in the outer div containing the elements. I did it, and it worked !! It resolved the issue of the floating adsense ads which was believed to be causing the image breaks. Now I am almost sure its not the google ads that cause the image breaks.
I am sorry as I cannot leave the website in the original css for you to see it live. I rather can add the buggy widgets to the sidebar, but under the localized CSS if that helps. I have just did that, and added the built in archive widget at the bottom of the right sidebar, under the email subscription. See how it is chopped ?
Forum: Themes and Templates
In reply to: very strange image breaks with IE 7 (screenshots)Thank you very much for your interest. I wish you follow up with me till the end .
Look what I have done, I am sure what I am gonna tell you will be important.
1- I restored the ORIGINAL non localized version of the sidebar.php.
2- I added the built in widgets of Tags, Archive, Links, Search, Pages, and Categories.
3- I saved changes, and the widgets of the Tags and the Archive and the Search appeared chopped from bottom. The others (Pages, Cats, and Links) appeared Ok.To make sure the bug is not in the localized CSS, I restored the original CSS of the Original theme, and the chopped widgets still appear as they are. See this image:
http://img23.imageshack.us/img23/4298/18371147.jpg
SO it is not in the localized version but rather a major bug in the original theme. I assume it is in the sidebar.php. There should be somewhere where the shape of these faulty widgets is defined, and there is a mistake there that needs to be fixed.
Thank You again
Forum: Themes and Templates
In reply to: very strange image breaks with IE 7 (screenshots)I did start again from scratch. I am suffering with these sidebar widget boxes because they are the reason of all problems. I want to insert custom codes (adsense and other stuff) in the sidebar, but there is a bug in the theme itself which cause custom widgets to appear cut from the bottom. I never recieved a response from the theme’s author, and his website has “changed ownership” !
I cant use the theme without the custom widgets, yet the hardcoding (adding ie and ul tags) which solved the cut bottom, caused other problems.
What else could I try ?
Forum: Themes and Templates
In reply to: very strange image breaks with IE 7 (screenshots)Bump againnn
Forum: Themes and Templates
In reply to: very strange image breaks with IE 7 (screenshots)BUMP