Instead of Custom CSS Theme CSS is loading

It is not clear if you want to just override the styles or replace the file with a new one. Whatever the case is, below code will help. Just wait for the best answer to your question. add_action( ‘wp_enqueue_scripts’, ‘add_my_style_css_also’, 99 ); function add_my_style_css_also() { wp_enqueue_style( ‘my-styles-css’, get_stylesheet_directory_uri() . ‘/style123.css’ ); } The code will … Read more

404 Error On Custom Taxonomy Pages 2, 3, etc

Alright, so after lots of reading, copying & pasting, and plugin installation I have finally gotten it to work. This is using a custom post type: Sermons, a custom taxonomy: Series and allowing pagination on both pages. First I downloaded this plugin here: http://wordpress.org/extend/plugins/monkeyman-rewrite-analyzer/ Next I typed in the URL I wanted to change to … Read more

rewrite rule on plugin activation

finally I completed, using this below hook mod_rewrite_rules function output_htaccess( $rules ) { $new_rules = <<<EOD RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f RewriteRule ^(\w+)$ ./index.php?id=$1 EOD; return $new_rules . $rules; } add_filter(‘mod_rewrite_rules’, ‘output_htaccess’);

WP Job Manger change jobs url (NOT slug)

If you check out the output() method in the includes/admin/class-wp-job-manager-setup.php file, namely this part: /** * Output addons page */ public function output() { $step = ! empty( $_GET[‘step’] ) ? absint( $_GET[‘step’] ) : 1; if ( 3 === $step && ! empty( $_POST ) ) { $create_pages = isset( $_POST[‘wp-job-manager-create-page’] ) ? $_POST[‘wp-job-manager-create-page’] … Read more

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