Forum Replies Created

Viewing 15 replies - 46 through 60 (of 60 total)
  • Thread Starter Rics1983

    (@rics1983)

    That’s really strange, i did the same with other templates and i had always the infos showed.

    Could be something related to installed plugins?

    Thread Starter Rics1983

    (@rics1983)

    Thank you esmi, here it is:

    https://pastebin.com/YBGed2zq

    Permissions on the style.css file are 755.

    Thread Starter Rics1983

    (@rics1983)

    Today i’ve tried other ways but got no solutions so far.
    I’m stuck at the previous post.

    Thread Starter Rics1983

    (@rics1983)

    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!

    Thread Starter Rics1983

    (@rics1983)

    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)

    Thread Starter Rics1983

    (@rics1983)

    Thank 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_
    ??

    Thread Starter Rics1983

    (@rics1983)

    Don’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.

    Thread Starter Rics1983

    (@rics1983)

    I’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"]' ); ?>
    Thread Starter Rics1983

    (@rics1983)

    Here 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.

    Thread Starter Rics1983

    (@rics1983)

    I’ve all working fine about scripts etc, firebug don’t report errors.
    But the mail isn’t sent.
    ??

    Thread Starter Rics1983

    (@rics1983)

    I 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.

    Thread Starter Rics1983

    (@rics1983)

    Well, 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!

    Thread Starter Rics1983

    (@rics1983)

    Double post.

    Thread Starter Rics1983

    (@rics1983)

    If 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! ??

    Thread Starter Rics1983

    (@rics1983)

    Forgot 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(); ?>
Viewing 15 replies - 46 through 60 (of 60 total)