Advanced Custom Fields functionality without plugin

I am aware of the capability of adding meta boxes for single text fields, etc, but that’s not what I am actually after. Meta fields aren’t just for “single text fields”, the database type is longtext: mysql> DESCRIBE wp_postmeta; +————+———————+——+—–+———+—————-+ | Field | Type | Null | Key | Default | Extra | +————+———————+——+—–+———+—————-+ | … Read more

Tiny MCE doesn’t look anything like my blog

You can add an editor-style.css stylesheet in your theme which mimics the look-and-feel of your blog. Here are some tips on how to do that (you’ll need to touch functions.php too): http://www.deluxeblogtips.com/2010/05/editor-style-wordpress-30.html The first two styles in that example are the important ones; usually what I do is just copy over and rename my style.css … Read more

wysiwyg is scrambled

I’d suggest using editor style for your wysiwyg. Add add_editor_style(); to your functions.php and then add a new file called editor-style.css to your main theme directory. Your editor style should reflect the basic css settings like your actual frontend content width, H1, H2, p etc tags styles, margins, image padding adn margins etc. Don’t copy … Read more

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