Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter mshaheen

    (@mshaheen)

    ok i actually went ahead and edited recipeseo.php to avoid id conflicts.

    On the containing hrecipe DIV, I added an ID of recipeseo-[#] where [#] is the recipe_id. then I removed all of the IDs from the child elements where a conflict could have existed. I didnt remove them completely – I moved them over as a class. So, anyone who already has CSS written for this can simply change the # declaration to . and the style should hold. The ingredient list items and instruction list items each had IDs like recipeseo-ingredient-2-amount. I added the recipe ID to this format (recipeseo-3-ingredient-2-amount). I think this should do it. If anyone still needs to access a specific title or rating, they can first reference the hrecipe-[#] and then find the element by class (#hrecipe-4 .recipeseo-title).

    I’m not the author of this plugin and I did not have explicit permission to make the changes (but it’s Ok because of the GNU General Public License). So, if anyone would like my version, let me know and I’ll send it to you. CodeSwan – if you see any merit in what I did and would like to throw it in a version, I can show you the simple changes I made or send you the new file.

Viewing 1 replies (of 1 total)