Change order of elements in Wordpress


#1

Hi,

In my blog posts, (eg: http://cistraining-rajesh.com/?p=17) in the bottom of the page comments section, I have one button and one check box
button- class name- .form-submit
check box- class name- .comment-subscription-form

I would like to re-order the button and the check box. I want the check box section to appear before the submit button. I am using the child CSS. Can i re-order using CSS.

Thanks,
Rajesh


#2

Already answered on https://rtcamp.com/support/topic/change-order-of-elements-in-wordpress/#post-65821


#3

I’d like to have the ‘custom fields’ section to appear as first thing under the title, in the post panel, before than the editor. Is there a hack to change the display order of elements inside the admin panel?
To be more precise: I’d like to change the order just inside a special post type I already set up, because custom fields are the most important thing of that post type and the editor is just an option used to add more info.


#4

Hello TomDupuis15,

While you register custom post type, do not pass ‘custom-fields’ parameter under ‘supports’, and add following code in your functions.php.

add_action( ‘edit_form_after_title’, ‘post_custom_meta_box’, 11 );

You may need to do some style stuff, let me know if it works for you.

Thanks,
Umesh


#5

Thanks a lot Umesh Nevase, It’s working


#6