fixing page URL’s

You may want to contact the authors of the premium theme you are using. This may be in reference to a custom post type and you’ll probably need some custom code to change the url slug.

How do I point bloginfo(‘stylesheet_directory’) to my parent theme?

If the parent theme is properly coded, the following code in the child theme functions.php file should load the parent css. <?php add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ ); function my_theme_enqueue_styles() { wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ ); } ?> As for the javascript, I think that if the parent theme loads theme with wp_enqueue_scripts they should work … Read more

Post not redirecting to non www after changing from www

I did it through cpanel That’s certainly part of the problem. cPanel will add the redirect at the end of the .htaccess file (after the WordPress front-controller) – so they are not getting processed. You need to manually edit the .htaccess file to move these directives to the top. However, that doesn’t entirely answer your … Read more

Add %post_id% to slug of custom post type and prevent the “unique slug” thing that WP does?

I don’t have much experience with coding rewrites, but could you just add $post->post_name into your return statement? return home_url(‘equipment/’ . $post->ID . ‘-‘ . $post->post_name ); There are a few other ways to change the permalinks that I have used that may also help you: The easiest way to change your permalink structure is … Read more