Rics1983
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Custom Theme info not showThat’s really strange, i did the same with other templates and i had always the infos showed.
Could be something related to installed plugins?
Forum: Themes and Templates
In reply to: Custom Theme info not showThank you esmi, here it is:
Permissions on the style.css file are 755.
Forum: Fixing WordPress
In reply to: Querystring for pages (not posts)Today i’ve tried other ways but got no solutions so far.
I’m stuck at the previous post.Forum: Fixing WordPress
In reply to: Querystring for pages (not posts)Sorry, for the previous post, here are the pastebins.
The first code, to show posts list with title and thumbnails in a page, with two succesfully working links for sorting the list is the following:
Code for posts (on pastebin)The second code, to show pages list with title and thumbnails in a page, with the two not working links for sorting the list is the following:
Code for pages (on pastebin)By the way today i have learned a bit more about SQL via the w3schools website, so i’ve tried to access to the wpdb with my way for the pages query:
$querystr = "SELECT wposts.* FROM $wpdb->posts wposts, $wpdb->postmeta wpostmeta, $wpdb->terms wterms WHERE wpostmeta.meta_value = 'Gaming' AND wposts.post_type = 'page' AND wterms.name = 'Gaming Design' ORDER BY wpostmeta.meta_value ASC"; $pageposts = $wpdb->get_results($querystr, OBJECT);
If i don’t get wrong, this will get the pages from the wpdb where the meta_value is equal to Gaming and where the category is Gaming Design.
But what i’ve on the output are all the pages, including the pages that haven’t meta_value equal to Gaming and also the pages that have category not equal to Gaming Design.
Probably i wrote something wrong, but what?
Thank you for the help!
Forum: Fixing WordPress
In reply to: Querystring for pages (not posts)Thank you for the reply esmi!
I’ve already checked that codex page, but i haven’t success trying with the “query_posts” function, probably because i’m using meta keys and values to retrieve pages and to order them via different methods.I think that’s better if i write the code i’m using, the first to list a series of posts title&thumbnail on a page, the second one to list a series of pages title&thumbnails on another page.
The last one obviously haven’t the sort order working correctly as the first code example.Code for displaying a series of posts title&thumbnail in a page with two links that produce a different sorting (full working):
[Code moderated as per the Forum Rules. Please use the pastebin]
(Sorry for the longer code and post)
Forum: Fixing WordPress
In reply to: Text Widget background color in IE6-7-8Thank you!!!
I love cats and a cat saved my day! ??I’ve changed the css in this way for a rule:
#slideshow {width: 380px; background: transparent url(images/header_offer_back2.png) no-repeat; margin-top:0; margin-left: 10px; height:120px;}
to
#slideshow {width: 380px; margin-top:0; margin-left: 10px; height:120px;}
and, for the transparency in IE i’ve added the following rule:
#slideshow ul#sidebar li{ background-color: transparent!important }
Another time thank you so much!
Problem solved!
credit to: t31os_
??Forum: Plugins
In reply to: [Plugin: Contact Form 7] Break on errorDon’t ask me how but now is all working fine for both websites, in the one that gave me problems i’ve only changed the form tags names.
Don’t know if the thread can be set to resolved because i’ve not at the moment a valid explanation.
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Break on errorI’ve forgot an important difference:
On the website that contactform7 is working i’ve placed the form in a page placing the shortcode:
[contact-form 1 "Modulo di contatto 1"]
On the website that contactform7 isn’t sending emails i’ve placed the form on the footer using the following code:
<?php echo do_shortcode( '[contact-form 1 "Modulo di contatto 1"]' ); ?>
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Break on errorHere i am!
I’m working also to another website, this one is a wp ecommerce website developed using shopp plugin.
I’ve included in a page a contactform7 email form without captcha and all is working fine, no-errors and email arrives correctly.
As installed plugins i’ve only contactform7 and Shopp.I will investigate later on the other website that is causing me problems on sending emails to see if is something related with captcha or other scripts/plugins.
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Break on errorI’ve all working fine about scripts etc, firebug don’t report errors.
But the mail isn’t sent.
??Forum: Plugins
In reply to: [Plugin: Contact Form 7] Break on errorI had the project in hold for some days, was working on another one.
The last things that i did are some changes to my theme on the scripts side, so i’ve now the contact form that says “email successfully sent”…but emails never arrives to my email box.
I’ve checked carefully the email address on the CF7 backend settings over the “To” field and is a working email.
I’ve tried also to change from a google one to an hotmail one address but same story, i don’t receive emails.At the moment i can’t say nothing about the solution found by wjm until today late tomorrow, when i will work on this project.
Also later i will try to explain my changes to the theme that solved the “undefined function” issue.Forum: Plugins
In reply to: [Plugin: Contact Form 7] Break on errorWell, i’m sorry that i’ve not replied in these last days, i’ve found that using an almost empty theme with only the contact form code on the footer i’ve no errors.
Late tonight or tomorrow i will start to cut out, one by one, pieces of my “buggy” theme to find what is going in conflict with the contact form.
I suspect that can be something with the jquery libraries and plugins calls that i’ve both in the header and in the footer.
As i’ll find the problem source i will post it here!Forum: Plugins
In reply to: [Plugin: Contact Form 7] Break on errorDouble post.
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Break on errorIf i remove the functions.php the problem still remains.
I work with it offline using mamp on mac osx, don’t know if it is related.
All the permissions are 755 for the plugins folder and for my theme folder.Perhaps i’ve to set something on MAMP?
I’m sorry for my low knowledge, i’m learning wordpress! ??
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Break on errorForgot to report my functions.php file:
<?php if( !is_admin()){ wp_deregister_script('jquery'); wp_register_script('jquery', ("https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"), false, '1.4.2'); wp_enqueue_script('jquery'); } if( !is_admin()){ wp_deregister_script('jqueryUi'); wp_register_script('jqueryUi', ("https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"), false, '1.8.0'); wp_enqueue_script('jqueryUi'); } ?> <?php if ( function_exists('register_sidebar') ) register_sidebar(); ?>