fabianborg
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Permalink /%postname%/ error redirects all links to homepageI have found that the error is generated by the new update of Yoast SEO plugin.
To correct the issue from my functions.php I had to disable the:/* Remove all embeds rewrite rules. */ /* add_filter( 'rewrite_rules_array', 'disable_embeds_rewrites' ); */Forum: Fixing WordPress
In reply to: Permalink /%postname%/ error redirects all links to homepageHi this is the error I get on the error log
PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'disable_embeds_rewrites' not found or invalid function name in /home/public_html/mytheme/wp-includes/plugin.php on line 235The error surfaced past the upgrade of Yoast SEO
Any help would be really appreciated.
Forum: Fixing WordPress
In reply to: Echoing image dimensions@bravokey
The solution provided worked out of the box. Thanks for that, I was overcomplicating things with
get_image_tag()to make use of the string$sizeas myslef being new to wordpress I was not aware if wordpress supportedgetimagesize.Once again thanks for the help 😉
Forum: Fixing WordPress
In reply to: Echoing image dimensionsHi @bravokey, no I did not define the variables in the header.php and neither in the functions.php were the custom_logo is created as I thought that the image properties would be transposed automatically.
As far as the code goes, I have posted all the relevant code.
What would be your suggestion, please?