Tag Info

New answers tagged

1

Have you tried is_front_page()? It should do what you're looking to do. Unless you've set up front-page.php with the Page Template commented header syntax that identifies the file is a Page Template, I don't think you can use the is_page_template() or get_page_template() functions. As for the category page, if you are loading category-foo.php, then aren't ...


2

You have the following methods of the $wpdb object: $wpdb->flush() that contains a call to mysqli_free_result() or mysql_free_result() if not supported. $wpdb->check_connection() that contains a call to mysqli_ping() or mysql_ping() if not supported. You can of course use all your PHP functions in WordPress. Here's an example based on the \wpdb ...


0

What you are describing sounds like a typical CRUD app. It is certainly a possibility with WordPress (many things are), but natively it is tuned to working with content rather than forms and data. There probably will be a curve, learning to bend it for CRUD, you might not want to deal with. From the things you named: forms: WP has some elaborate forms on ...



Top 50 recent answers are included