2.4k questions

2.4k answers

96.0k users

4 Online Users
0 Member 4 Guest
Today Visits : 1209
Yesterday Visits : 2723
Total Visits : 2359542

Categories

Notice

Dear All, These are my answers from Quora and primarily Google; please check the answer and from others sites; the answers are free and without any liability.To make a decision, write down all of the positives and negatives on a piece of paper.Thank you,

Elias Katsaniotis, MSc

Information

Viktoria Katsanioti,

Kaliningrad,

Russia,

matizegr@yahoo.com

0 votes
132 views

How do I migrate a file in PHP in WordPress?
in WordPress by (95.8k points)

1 Answer

0 votes

maybe with many ways, see

You can think of it as a decision tree. When WordPress tries to decide how to display a given page, it works its way down the template hierarchy until it finds the first template file that fits the requested page. For example, if somebody attempted to access the address https://yoursite.com/category/news, WordPress would look for the correct template file in this order:

category-{slug}.php: in this case category-news.php

we can create a category tempalte category-news.php, and put the PHP written in this and then invoke the PHP from url mysite/category/news

this can be also done if we make template with page-news.php and invoke the PHP from the url mysite/news

Then we must change the PHP commands with commands of WordPress PHP Framework, and possible create tables in the db.

by (95.8k points)
...