wp theme.. Could not create directory

If you can log into your host with SSH or FTP, it’s an easy fix. Like the comments said before, check your permissions for the WordPress directory. For example, if you check the hosting directory with ls -al (typically /var/www, as on DigitalOcean), they should look something like this: drwxrwxr-x 6 www-data www-data 4096 Nov … Read more

How to understand a specific bit of WordPress syntax

That’s a Shortcode. It may be possible to find the function that renders that shortcode and copy/paste it into your own plugin, making it theme-independent, however, how easy that will be to do depends on how the shortcode works- if it depends on additional php functions, JavaScript, and CSS embedded within the theme.

Add js into a theme [closed]

Your code should look like this function my_scripts_styles() { wp_register_script(‘easing’, get_template_directory_uri() . ‘/js/easing.js’, ‘2014-12-030’, true ); wp_enqueue_script(‘easing’); } add_action( ‘wp_enqueue_scripts’, ‘my_scripts_styles’ ); The above code should work fine. Also don’t forget to check if you have properly specified the path to your js file. Check well that you have a functions.php and not function.php file. … Read more

Parallax WordPress theme without hardcoding – possible?

One option would be to load all items in the nav menu into the page when it is being generated using wp_get_nav_menu_items( $menu_name, $args ) Another possible way to do that would be to use ajax to grab the page in question and append it to the end of the current content before the scroll … Read more