How to migrate the menu from the site on my own theme in WordPress?

Yes, it is typically possible to re–create arbitrary markup in WordPress. However the difficulty of the task varies from easy to highly challenging. Sometimes it is easier to bend to markup WordPress gives you, than bend markup to precise state. For navigation menus there are basically two levels of control over markup: As per wp_nav_menu() … Read more

Postname permalink page not found error

This is likely related to a problem with the plugin itself, or a conflict with another plugin. The other thing to check would be that your .htaccess file exists and is writable by WordPress. Permissions of 644 are what is recommended see this codex entry. Ownership of the .htaccess file would generally need to be … Read more

Get all Custom Post Types

Easy list filtering There’s the global $wp_post_types which is used for e.g. in get_post_type_object( $name );, register_post_type(), etc. If you want to omit the ones delivered with core, you should filter the returned list and skip everything that has the _builtin key set to true. Just use wp_list_filter() for that $cpts = wp_list_filter( $GLOBALS[‘wp_post_types’], array( … Read more