Hidden Pages, Posts & Plugins

WooCommerce uses custom post types, so if the client hasn’t actually created Pages/Posts all the content will be under labels like “Products.” I would start by either determining whether there’s an XML sitemap – if they have Yoast SEO installed, you’ll see an “SEO” menu where you can check “XML Sitemaps” and generate one if … Read more

Customise the_title in admin area

I’d leave the public-facing titles (the_title()) alone so you don’t have to mess with filtering things if you change plugins or themes. Adding postmeta is not a big deal, and it’s not hard to maintain/sustain. It also will not get removed/overwritten with updates. The biggest benefit here is that if you forget to add a … Read more

WordPress for business site

Create a new page from the wordpress menu, then go to settings->reading->a static page and choose the page you just created: this page will be the main page when you visit the website.

Using external DB within wordpress

1) If all output will happen in that one template, I don’t see why you can’t do everything in the template. How it’s organized is really up to you. 2) If the table is in the WordPress database, it certainly simplifies things, you won’t have to create a connection to another database. 3) It’s up … Read more

How to use wp_dropdown_pages or wp_list_pages to accomplish a menu like this?

Here’s an easy way to generate a dropdown menu from your blog pages using the WordPress wp_dropdown_pages() function. Adding a bit of javascript you can send the user to the page when they select it <section id=”pageselect”> <span> <?php wp_dropdown_pages(‘show_option_none=Explore…’); ?> </span> <script type=”text/javascript”><!– var selectmenu = document.getElementById(“page_id”); function onPageChange() { if ( selectmenu.options[selectmenu.selectedIndex].value > … Read more