Recipes broke layout
-
I’m not sure why, but when I tried to use the Recipes rich snippet, it broke the placement of the sidebar content. When I modified functions.php in the aio plugins folder so that line 497, right above
return ( is_single() || is_page() ) ? $recipe : $content;
, from
</div></div><div class="snippet-clear"></div>';
to
</div></div><div class="snippet-clear">
it worked. I was able to determine that there was an extra</div>
tag inserted, but I couldn’t figure out where in the code it was. Removing the one at the end seemed to work.Just to note that the other Rich Snippets did not break the layout of the site.
https://www.ads-software.com/plugins/all-in-one-schemaorg-rich-snippets/
- The topic ‘Recipes broke layout’ is closed to new replies.