issues with a slider – investigations with firebug

The .js file for the carousel is not loading, I get a 404 instead: GET http://www.ex-libri.org/wp-content/plugins/jquery.jcarousel.min.js?ver=1.0 [HTTP/1.1 404 Not Found 98ms] It looks like either there is a plugin’s subfolder missing in the path or the path of plugins folder has been used instead of the theme path.

Form tries to download a file on submit

To attach a file to the email, you need to specify the Path to it like this: <?php $attachments = array( WP_CONTENT_DIR . ‘/uploads/file_to_attach.zip’ ); $headers=”From: Test Name <[email protected]>” . “\r\n”; wp_mail( ‘[email protected]’, ‘subject’, ‘message’, $headers, $attachments ); ?> either is a string or an Array (for multiple files), you can see the accepted parameters … Read more

How to hide the form after successful php execution

If I understand the code correctly, you are wanting to make the result_display() function call conditional by moving the post check to inside the shortcode function. ie. function display_shortcode() { ob_start(); if (isset($_POST[‘submit’])) {result_display();} else {html_form_code();} return ob_get_clean(); }

How can I add a new lib path without call each one on the header?

function my_custom_enqueue_scripts() { if ($handle = opendir(get_template_directory() . ‘/custom-stylesheets’)) { $i = 1; while (false !== ($file = readdir($handle))) { if ($file != “.” && $file != “..”) { wp_register_style(‘custom_stylesheets_’ . $i, get_template_directory_uri() . ‘/custom-stylesheets/’ . $file); $i++; } } closedir($handle); } } add_action(‘wp_enqueue_scripts’, ‘my_custom_enqueue_scripts’); Add code to a file: functions.php Styles should be located: … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)