ChowKaiDeng
Forum Replies Created
-
I’m exactly looking for the same thing, but also considering a way to edit what the widget prints (basically to hide some things displayed by the widget that I don’t want to show, but they’re not between tags to hide them using CSS).
Sure! Please let me know if I can help or anything. I could provide hosting, if you need it. Everything with custom posts it’s always complicated.
Greetings!
Hi guys, remember you can view the website using the Google cache. It does not have any images or styles, but you may check most of the the info. I’m working with that right now. Here is the Code Examples section.
Forum: Plugins
In reply to: [Polylang] Polylang – multiple headersYou’re welcome! I’m glad it helped.
Greetings!Hi Ajay! Now it’s working great. I’ve just made a small donation ?? I hope everyone makes a contribution.
I recommend you this article about AdBlock’s creator Michael Gundlach, on Flatter, and some of his advices for sustainability on the development of “free” projects.
BTW, AdBlock is awesome.
I’ve been working in an article about 10 essential plugins which i use in any WordPress site, and I’m definitely including CRP.
Cheers!
Hi Ajay,
Great! I’m a big fan of Conan Doyle myself since I was 8. Let me know if you need anything for the CSS ready styles.
I was trying to make a donation to your PayPal account using the “donate” button inside the plugin settings windows, but it seems the account has been closed. This is the message i get:
We cannot process this transaction because this PayPal account has been closed. For more information, please contact the seller.
Let me know if you fix it to proceed.
Cheers!
Forum: Plugins
In reply to: [Rich Widget] Rich Widget error on thickboxHi Chris,
Thanks for your comments. I’m glad it worked for you. Definitely, Rich Widget is the best plugin for this particular job, too bad it does not get as many updates as it could ??
Greetings!
Forum: Plugins
In reply to: [Polylang] [Plugin: Polylang] Set body class depending on languageHi! I think that this solution will be easier for what marlora is asking.
It just work with the templates pages, not the functions or styles.
Greetings!
Forum: Plugins
In reply to: [Polylang] Polylang – multiple headersPS: in line 3, replace the “en-US” by the “Locale” code that you have defined for your language.
Forum: Plugins
In reply to: [Polylang] Polylang – multiple headersHi! I use this function in any place of my templates where I need to call different contents by language:
<?php $currentlang = get_bloginfo('language'); if($currentlang=="en-US"): ?> <!-- Begin header image for your secondary language. In my case, English is the second language for my site. --> <!-- End here your header image for your secondary language --> <?php else: ?> <!-- Begin here your header image for your main or default language --> <!-- End here your header image for your main or default language --> <?php endif; ?>
Of course, you may use this not just for images, but for any content you need to call in your templates, like sidebar titles in different languages and so on.
I hope this work for you!
Hi Ajay!
Sorry for the late reply, I’ve had tons of work this last two days.
Thanks for your comments! I think that the CSS styles could be greatly improved but they always have worked fine in all my projects, so I keep using them as they are.
If you want to include it on the documentation, I could fix a couple of examples that could work 100% with TewntyTen , using
<ul>
or<dl>
, as well as improving the SEO by using something like<h3>
for the titles and<p>
for the excerpts. We could even create a short tutorial for users with no XHTML/CSS expertise. What do you think?The updated version works perfect with my old styles. THANK YOU so much for taking note of my sugestions and updating the plugin so fast!
BTW, I’ll be making a donation during the next few weeks, but as in my contry we have serious restrictions for accessing purchases/donations in foreign currency, it won’t be too much… But I’ll be more than happy to collaborate as a designer in anything you need.
Thanks again!
PS: do you see my email address in my profile? If so, drop me a line whenever you need anything. If you can’t see it, let me know and i’ll write it down here… or just google my nickname and you’ll find me everywhere ??
Hi Ajay!
Thanks for your quick reply.
You can check how I use CRP at the bottom of any of the posts in my blog, like this one: Lego R2D2I haven’t updated the plugin there yet.
Here is the screenshot.
I use that particular configuration, and almost the same CSS, in at least 4 more sites. I use CRP without images in about 4 other sites (like this one Zipper).
This is a sample of my CSS in Camionetica.com (just the important parts). I always print CRP using
<ul>
(sometimes<dl>
):img.crp_thumb { width:65px; height:65px; display:block; float:left; clear:left; margin-right:10px; padding:3px; border:1px #CCCCCC solid; } #crp_related ul li { clear:both; list-style:none; margin-bottom:15px; display:block; height:70px; } #crp_related .crp_title { font-weight:bold; font-size:14px; display:block; padding-bottom:5px; text-decoration:none; }
I understand the idea of reducing
<a>
tags, but in my opinion there’s not too much code being reduced, and those separate blocks for titles, images, and excerpts, are necessary in order to give it styles in more different ways.Please let me know what do you think about it. As I said before, I’m a big fan of CRP (it’s definitely the best to do this particular job)!
Greetings!
DanAfter a few attempts, I’ve realized that It’s worst than I thought. I just symply cannot work with this structure:
<a class="crp_link"> <img class="crp_thumb" /> <span class="crp_title"></span> </a> <span class="crp_excerpt"></span>
The way the
<a>
tag encloses the thumb and title makes a dependency that I can’t visually break using CSS the way I used to do before, which was something like:<a class="crp_thumb"><img /></a> <a class="crp_title"></a> <span class="crp_excerpt"></span>
Will you consider un-doing that change in future versions?
Greetings!
DanYes indeed. After a few minutes I’ve figured out. The problem was caused by Rich Widget, not AdRotate.
Rich Widget was doing this ugly thing:echo '<link href="' . RB_RICHWIDGET_BASEURL . '/thickbox/thickbox.css" rel="stylesheet" type="text/css" />'; wp_enqueue_script('thickbox_custom', RB_RICHWIDGET_BASEURL . '/thickbox/thickbox.js');
Instead of just simply this:
wp_enqueue_script('thickbox');
I guess that Rich Widget was written in a time when thickbox was not part of the core scripts of WP, or something like that.
I’ve changed the thing and everything it’s ok. I’m gonna post all this stuff on the Rich Widget forum.
Greetings
So, what’s this?
File: adrotate-functions.php (line 848)
function adrotate_filemanager_admin_scripts() { wp_enqueue_script('media-upload'); wp_enqueue_script('thickbox'); wp_enqueue_script('jquery'); }
(line 862)
function adrotate_filemanager_admin_styles() { wp_enqueue_style('thickbox'); }
File: adrotate.php (line 675)
<script language="JavaScript"> jQuery(document).ready(function() { jQuery('#adrotate_image_button').click(function() { formfield = jQuery('#adrotate_image').attr('name'); tb_show('', 'media-upload.php?type=image&TB_iframe=true'); return false; }); window.send_to_editor = function(html) { imgurl = jQuery('img',html).attr('src'); jQuery('#adrotate_image').val(imgurl); tb_remove(); } }); </script>
That was just a quick search among obvious files, but I haven’t check them all properly.
As I see, the AdRotate thickbox could be interfering with the Rich Widget thickbox. They both use jQuery.