Integrating my php application into a Wordpress site

I am developing a site for buying and selling cars in php, currently I plan that all pages and the blog will be implemented using Wordpress and other functions that I will develop as an independent application and connect it to wordpress using the function.php file. WordPress will only do user management and posting for the page and blog.

Including a database table will be normal. Is that a good idea? Will I go to a bottleneck?

The administrator will only oversaturate the news. Users will publish their cars for sale after logging in. They can search and rate as well ...

+3
source share
2 answers

What do you mean by "connect it with wordpress using function.php"?

I translated http://storelocator.no on top of WP. I created WP templates that have their own code and extract data from its own tables. That way I can create pages in WP and choose which template to use. Good for navigating pages.

For pages that are completely shared with WP, but you still want to use the WP features, just include the following at the top of the PHP file:

require_once($_SERVER['DOCUMENT_ROOT'].'/wp-blog-header.php');

You can use the WP function to validate the data instead of creating your own validation code (you can save time here). See Available Functions here: http://codex.wordpress.org/Function_Reference/get_template_directory_uri

+1

, :

  • Scratch
  • Framework, Zend, Cake ..
  • Content Manager, Joomla, Drupal ..
  • WordPress

. - , . - , ( ).

Framework , . 100% . - ( , ).

Content Manager WordPress - CMS, Drupal Joomla. CMS ( ), . WP, CMS , , . , , someones.

WordPress WP - . CMS, , - . , , - .., WP . , . , CMS, , , , , .

: -, , - . WP - , , , , PHP-- .

WP ( ), Framework, Cake Zend, . , WP .

+2

Source: https://habr.com/ru/post/1765948/


All Articles