Mar 11, 2021 10:26 am
I need to move around a div tag with wpf-topic-tags, so it shows just above the div tag with wpf-topic-form-wrap. I have tried using these 3 lines of code and none of them seems to work.
$(document).ready(function() {
$('.wpf-topic-tags').remove().insertBefore('.wpf-topic-form-wrap');
jQuery('.wpf-topic-tags').prependTo('.wpf-topic-form-wrap');
jQuery('.wpf-topic-tags').insertBefore('.wpf-topic-form-wrap');
});
I will appreciate if someone can please point me in the same direction.
Thanks.
In case useful, I have wpForo like this and I am trying to move the Tags field to be moved to show just before the Title field.
1 Reply
Mar 11, 2021 3:06 pm
same question with a different username
How to fix this JavasScript to change the sequence of div tags on my webpage?