tales
Forum Replies Created
-
Forum: Themes and Templates
In reply to: WordPress database error:I found how to correct this problem, you just need to replace 2 lines on the file functions.php on the Freshy theme folder.
1-open the file on any text editor
locate for the function yy_widget_links tha should be the first function of the file and in this function replace 2 lines.replace:
$link_cats = $wpdb->get_results("SELECT cat_id, cat_name FROM $wpdb->linkcategories");
for:
$link_cats = $wpdb->get_results("SELECT DISTINCT cat_name, category_id FROM $wpdb->categories INNER JOIN $wpdb->link2cat ON $wpdb->categories.cat_id=$wpdb->link2cat.category_id");
and replace:
wp_get_links($link_cat->cat_id);
for:
wp_get_links('category='.$link_cat->category_id.'&before=<li>&after=</li>&show_description=0&limit=100');
And now you can use the widget, as i`m using it again on my blog.
Forum: Themes and Templates
In reply to: WordPress database error:Hi worrypascanada, i use freshy theme too.
Tho solve you problem you should install the widgets plugin, then when you manage plugin on the presentention menu. You will see that there is one item called ‘Links for Fresy’, just don’t use this set in your menu and you’ll see that the problem will be gone.
I hope this problem will be solved on next freshy version but i haven’t tried to talk with the autor yet.Forum: Plugins
In reply to: Lightbox works partlyHi sofsoldier, i’m with the same problem.
What i fount is that wordpress is posting the images urs using single cotes like<img src='https://xxxxx/file.jpg'>
while the older versions uses double cotes like<img src="https://xxxxx/file.jpg">
; and the lightbox searches for images and double cotes…i have a post here asking for help with this issue, for now what you can do is manualy edit the post and change de cotes, after this the plugin wil works fine.
Forum: Plugins
In reply to: problem with lightbox pluginHi, samboll.. I tried the 0.6 and the 0.63 without success.
Every image that i upload to a post the image url goes like <img src=’https://…./file.jpg’> whith single cotes on the image url, if i manualy edit the tag changig the single for double cotes like <img src=”https://…./file.jpg”> makes the lightbox works fine.I’ve just testes right now, created an test post uploaded an image and the url was created with single cotes.
https://talesparreiras.com/blog/2007/01/25/test-post/
in this case the plugin not works, bus if i manuly edit the url changing the cotes it will work.
How to make the WordPress post using double cotes like in older versions?