jakry001
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Facebook like button to show only on selected pages?Is there a solution to this?
Forum: Fixing WordPress
In reply to: Facebook like button to show only on selected pages?Anyone know?
Forum: Fixing WordPress
In reply to: Custom function for embedded objects, eg. youtube videosAnyone know?
Forum: Fixing WordPress
In reply to: Custom function for embedded objects, eg. youtube videosWould this even be possible?
Forum: Fixing WordPress
In reply to: Custom function for embedded objects, eg. youtube videosAnybody have any idea?
Forum: Fixing WordPress
In reply to: Image quality degraded when Liking a post from my WordPress siteSeems I have worked out what’s causing the error.
In case anyone has this issue in the future, facebook does not deal well with transparent backgrounds.
Making an image without a transparent background fixes the problem.
Cheers
Forum: Fixing WordPress
In reply to: Twenty ten: tooltip when hovering over comments linkworked it out. just in case anybody may be interested in the future, here it is.
i came up with this code and added it to the bottom of functions.php
function my_comments_popup_link_attributes() {?> echo ' title=""'; <?php } add_filter('comments_popup_link_attributes', 'my_comments_popup_link_attributes');
Forum: Fixing WordPress
In reply to: Twenty ten: tooltip when hovering over comments linkok i found the file which adds the title parameter to create the tooltip.
\wp-includes\comments-template.php, line 1016
i dont really want to edit this file, although it would be an easy quick fix.
is something else that can be done to prevent this tooltip from appearing?
thank you for any help ??
Forum: Fixing WordPress
In reply to: Twenty ten theme modification: Comments Off.Thank you ??
I just worked it out, was very should have worked it out much earlier.
Forum: Fixing WordPress
In reply to: Twenty ten theme modification: Comments Off.anybody know how to do this?
Forum: Fixing WordPress
In reply to: Twenty ten theme modification: Comments Off.I had a look through that but no success. I still couldnt figure out how to change the one word…
Thanks anyway
Forum: Everything else WordPress
In reply to: WordPress mailing lists… how do they work?thank you for your help ??
hmmm, haha i got no idea, that seems like a very good and obvious solution.
thanks for your help ?? i think im just going to change it manually.
thanaks again
Once I have it hosted it will be easier to show what I mean. Atm it’s locally hosted, so I try to describe as accurately as I can.
I know it sounds strange, but all I’ve done is edited the style of
<pre>
, so using these tags will make my embedded objects and images appear a certain way in post.It’s a long story, but Alchymyth showed me how to style all contents of a post
<p>
automatically. The solution worked:add_filter('the_content','hightlight_the_paragraphs'); function hightlight_the_paragraphs($output) { if(!is_page()) : $output = str_replace('<p>','<p><span style="background: yellow; padding: 3px;">',$output); $output = str_replace('</p>','</span></p>',$output); endif; return $output; }
All post content would be styled,
style="background: yellow; padding: 3px;"
.The problem, however, is this solution would also affect embedded objects and images. It would leave an ugly bottom border to them. In order to remove this bottom border, I would wrap these objects in
<pre>
tags which I styled to my taste. Therefore, everytime I embed or insert something I need to do this process manually. I was hoping for an automated solution similar to the one Alchymyth came up with.I hope you understand what I mean haha…
Thank you anyway ??
anyone have any idea?