-2

I have my own 3d carousel from my own custom code, and i'd like to paste into WordPress section its code (html css only).

How can i do that?

I've been looking for plugins or any simple instructions (I'm a newbie).

any help appreciated.

txs.

4
  • 1
    Its not clear what you are trying to do. What do you mean with WordPress section?
    – Wilco
    Commented Jan 23, 2018 at 11:56
  • By section I mean any part of WordPress text editor, for any specific page. Long story short: my page has been set up already with content, and I just want to add a custom carousel.
    – fana it
    Commented Jan 23, 2018 at 14:09
  • Then you should try creating a shortcode. FYI: A shortcode is a WordPress editor friendly function which can display anything you want. for example: function carousel_function( $atts ){ return "<div class='your-carousel'>carousel content</div>"; } add_shortcode( 'custom-carousel', 'carousel_function' ); with this you can put the code [custom-carousel] in your WP text editor and it will display <div class='your-carousel'>carousel content</div> when you look on the page. more info
    – Wilco
    Commented Jan 23, 2018 at 14:19
  • txs for tip. Definitely not a newbie task, but neither afraid of diving deep into it... the point is I am in a hurry right now...Would you be aware of any plugin that would accept my code and just handle it?
    – fana it
    Commented Jan 24, 2018 at 3:16

1 Answer 1

1

You can create a custom template for that page and paste your code into the template page. If there is any CSS or JS involved, you can load conditionally for just that page.

Definitely not a newbie task-

Not the answer you're looking for? Browse other questions tagged or ask your own question.