public custom posts not showing in my wordpress plugin

You are not seeing or that your function (test_get_post_types) is not returning the custom post types because if you look at the Carbon Fields source code, carbon_fields_register_fields is run by Carbon_Fields\Loader\trigger_fields_register() which is hooked on init with the priority 0. (See lines 113 and 44 in carbon-fields/core/Loader/Loader.php) So that means, by the time your lnpa_attach_theme_options … Read more

Create a custom plugin with dynamic child pages listing database records

A basic implementation could go like this: Setup public query variables This lets you fetch these later through get_query_var() add_filter( ‘query_vars’, function( $vars ) { $vars[] = ‘team_category’; $vars[] = ‘team_id’; return $vars; } ); Add a rewrite rule This is responsible for turning a url like /team/allstars/999 into a format WordPress can handle. Make … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)