Add a new social option in OceanWP (for Thingiverse)

  • Post category:IT
  • Post comments:1 commentaire
  • Post last modified:12 juin 2021
  • Temps de lecture :2 min de lecture

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 :


Update (12/06/2021) : With version OceanWP 2.0.9 or later, OceanWP has introduced a change that breaks the above solution, but the indication they gave on their article does not seem to work, at least on my version. Below is a working solution for me (still using FontAwesome) :




La publication a un commentaire

  1. Kyouri

    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!

Laisser un commentaire

Ce site utilise Akismet pour réduire les indésirables. En savoir plus sur comment les données de vos commentaires sont utilisées.