Hi, well here is what i would like to do. I have few themes i like, i want to know how to merge a theme shortcode into another, for instance, one of the themes has the layout and the slider i like, and i have another couple of themes with the shortcodes i need. Is there any way to merge the shortcodes with the css and everything into one of the themes? there is already a similar question here, but the answer is not very specific, hope any of you guys can help me.
Francisco Javier Carazo Gil answers:
1. First one you have to find in the code of themes the shortcodes definition. Look for the function add_shortcode in all files.
2. Recover also the function called by the shortcodes and paste it in your functions.php (the functions.php of the theme which is going to be the merge of the others)
3. Look at every functions added, you have to find if there is any extra resource, in images, in CSS code... to be able to add this to your new theme.
Gabriel Reguly answers:
You should to build a 3rd theme (or a child theme, at least) , so I suggest you start here [[LINK href=" http://codex.wordpress.org/Theme_Development"]]http://codex.wordpress.org/Theme_Development[[/LINK]].
Once you are familiar with that is just a matter of
1.finding the shortcodes functions and all functions that they depend on.
2.find any js/jQuery functions used by the shortcodes.
3.find any css and images that are used by the shortcodes
4.build your theme.