Y
Y
Yuri Krot2017-11-14 00:27:53
Joomla
Yuri Krot, 2017-11-14 00:27:53

How can I migrate a theme from Joomla to WordPress?

Good day
I have a purchased theme for Joomla, how can I quickly and efficiently convert it to wordpress?
If there are no quick methods, then what are the long ones, besides a complete redesign of the project?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Kudryavtsev, 2017-11-14
@kumaxim

Full translation of the project will be the fastest long method.
The only alternative that comes to my mind is this:
- In the body of joomla templates there are inserts like JoomlaComponent->get_title()
- Create a JoomlaComponent class with a get_title method that will call the WP get_the_title() function
- Separately add your custom routing of template parts
Let me explain the last thing - for the WP template, only two files are needed: index.php + style.css. All the rest are connected only if specific variables are filled in WP_Query, like is_single or is_post, etc. Joomla templates have their own structure, different from WP, however, there is something similar there, i.e. pages and posts. Actually, you can stuff a bunch of if ... else in the index.php of the template, which will determine what kind of page you are currently loading and, depending on this, make the require_once you need with the path to the correct files in the joomla template. I think the idea is clear, although personally it seems to me that what to do with such a perversion is better to change the template for Wordpress
As another alternative, look towards Divi Builder or something similar. These are visual template builders. They help to speed up the layout, however, they are not suitable for visited projects (from 100 thousand hosts per day).

O
Orkhan Hasanli, 2017-12-14
@azerphoenix

Do you want to migrate backend themes too (framework)? If yes, then it will be long and tedious.
Another option is to adapt joomla templates and integrate WP PHP tags into it. Read the codex.
Well, or download the page in html format and create a theme based on this one on the VP.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question