mndewitt
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Hueman] default facebook thumbnailHi,
Facebook uses something called the Open Graph protocol to scrape your page and get the appropriate information for sharing. You can see how Facebook is interpreting your page, and if there are any errors, using this tool:
https://developers.facebook.com/tools/debug/
A plugin like SEO by Yoast will generate open graph tags (og tags) for your site, check out that plugin and read the documentation. Also, make sure you are not using too many plugins for this, they can generate duplicate og tags and confuse Facebook.
Hi Myntekt,
Changing styles to multiple elements, and also controlling opacity, can all be done using CSS. I recommend reading up on some of the basics of CSS, and you will (most likely) make those changes in style.css of your child theme. Try to avoid doing any styling in your PHP/HTML files.
Forum: Hacks
In reply to: Don't trim space at the endI haven’t used the Settings API too much, but you could hack something together with the sanitization callback in your register_settings() method to put quotes around your input
function my_callback( $input ) { $input = '"' . $input . '"'; return $input; }When I run esc_attr() on that (which it looks like form_option() is doing), my spaces are preserved in the value attribute of my input…
Forum: Hacks
In reply to: Don't trim space at the endJust to help clarify… Why exactly do you need the space at the beginning and end?
Forum: Plugins
In reply to: [Optimizely Classic] Update is breaking WP Admin Area@danieliser you beat me to it!
Forum: Plugins
In reply to: [Optimizely Classic] Update is breaking WP Admin AreaI think the issue has to do with the PHP version. My WP Engine site is running 5.3.2 – apparently array dereferencing is PHP 5.4+, which I believe is what is happening there in your code.
Do you for see patching this up as danieliser recommends or should I look into getting WP Engine to upgrade PHP?
Forum: Plugins
In reply to: [Optimizely Classic] Update is breaking WP Admin AreaI am also getting this same error, we are hosted on WP Engine as well. I had no problem updating locally.