chaoskaizer
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Update WP 3.9 – Can't add mediaadding the following code inside ur theme’s functions.php should fixed the above issue
function icl_load_jquery_ui() { wp_enqueue_script( 'jquery-ui-dialog', false, array('jquery'), false, true ); } add_action( 'admin_enqueue_scripts', 'icl_load_jquery_ui' );
Forum: Fixing WordPress
In reply to: Update WP 3.9 – Can't add mediaI’m using WPML 3.1.4 too, most of the links in post editor that trigger onclick event like update featured image, tag, category or date is unclickable.
Forum: Fixing WordPress
In reply to: Multiple Blogs with the Same User table and WordPress 3.7I’m not sure if there is any changes with the custom constant. They should really try to fixed the orphan role issue for multisite using the same user meta table.
Forum: Fixing WordPress
In reply to: Can I revert back to 3.6?Try disabled all your plugin first. If there is still an issue you might want to enabled WP debug mode to check if there is anything amiss with ur wordpress.
Forum: Fixing WordPress
In reply to: Multiple Blogs with the Same User table and WordPress 3.7until the dev can figured out the solution for this issue, here’s some not recommended ugly workaround.
1. Place anywhere inside
wp-config.php
$_POST['user_name'] = 'admin';
2. Then restart your WP installation.
3. After the installation has completed, u will need to removed the variables ($_POST['user_name'] = 'admin';
).Forum: Fixing WordPress
In reply to: Multiple Blogs with the Same User table and WordPress 3.7ditto, having the same issue too.
they need to update the docs, https://codex.www.ads-software.com/Editing_wp-config.php#Custom_User_and_Usermeta_Tables
Forum: Plugins
In reply to: [PHPLeague] Missing argument : Prepare and FixtureWhere is this, i cannot locate it
I did some grep. the code located at two diff location
- phpleague/assets/js/tinymce/window.php on
line 35
- phpleague/inc/widgets/ranking.php on
line 105
just a note, appending the null on second missing parameters does seem to suppress the error but I’m not sure if it a real solution. You might need to wait for the plugin developer to reply.
Forum: Themes and Templates
In reply to: sidebar positionany url?
Forum: Themes and Templates
In reply to: How do I find a theme that I KNOW exists???So I have to search for WordPress themes on Google?
How fucked up is that?
I think that what most ppl do before they came here and start bitching about it.
anyway seem like Mike Purdy has stop developing the Quentin theme and some guys decide to continue his work https://www.kbanas.com/blog/?page_id=457
Forum: Themes and Templates
In reply to: round corners still not working in IEIf you want rounded corner draw it using MS Paint . Save as .bmp file and load in your page. that should work in MSIE
Forum: Everything else WordPress
In reply to: HACKED twice in one week ver 2.7Hi sairah,
Seem like you are on bad hosting network. The best approach is contact your host & send them this link AS6939 (HURRICANE) (you are within the same network). Ask them to fixes those mess because your domain is already inside the safebrowsing network list. You might get banned from major search engine if they don’t do anything.Forum: Themes and Templates
In reply to: Custom Template to be protection aware.How to check if the post/page is password protected
2.5.1 doesnt have
post_password_required()
function so I think you can use ↓ (inside WP posts loop)if(!empty($post->post_password) and $_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password)){ // this post is password protected }
… whether the viewer has access (entered correct password).
if (isset($_COOKIE['wp-postpass_' . COOKIEHASH]) and $_COOKIE['wp-postpass_' . COOKIEHASH] == $post->post_password){ // correct pass }
Forum: Themes and Templates
In reply to: Dodgy looking code in a theme ?dont worry that chunk of code is just a base64 encoded image. It a valid data URI image type but not supported by some browsers (IE).
Forum: Themes and Templates
In reply to: Changing location of style.css with filtersif you want to change the
style.css
url add the below code inside your theme’sfunctions.php
add_filter('stylesheet_uri','wpi_stylesheet_uri',10,2); /** * wpi_stylesheet_uri * overwrite default theme stylesheet uri * filter stylesheet_uri * @see get_stylesheet_uri() */ function wpi_stylesheet_uri($stylesheet_uri, $stylesheet_dir_uri){ return $stylesheet_dir_uri.'/css/mytheme.css'; }
if you need to change the theme’s stylesheet directory only
add_filter('stylesheet_directory_uri','wpi_stylesheet_dir_uri',10,2); /** * wpi_stylesheet_dir_uri * overwrite theme stylesheet directory uri * filter stylesheet_directory_uri * @see get_stylesheet_directory_uri() */ function wpi_stylesheet_dir_uri($stylesheet_dir_uri, $theme_name){ $subdir = '/css'; return $stylesheet_dir_uri.$subdir; }
Forum: Themes and Templates
In reply to: remove side bar from 1 pagetry place it after the closing PHP tag
?>
. - phpleague/assets/js/tinymce/window.php on