Add a new social option in OceanWP (for Thingiverse)

If you want to add a new social option in the topbar of OceanWP, you may have seen the OceanWP documentation here. But it adds it at the end. You you wish to reorder the new social option, here is a little trick, by inserting the new option in the correct place in the array instead of adding it to the end. Code below to be added to your child theme functions.php file :

 

This Post Has One Comment

  1. Thank you! I know it’s a bit outdated, and had to use a ‘close enough’ fa icon, but wanted to add Myspace to the array. Code worked perfectly (with minor alterations of swapping in Myspace in lieu of Thingiverse). Thanks, again!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close Menu