hyberman
Forum Replies Created
-
Hi Raju, thanks for your interest. Yep the fix worked. Thank you very much!
- This reply was modified 2 years, 10 months ago by hyberman.
+1 for the renaming request. This is a feature that Visual Composer Website Builder has and it made it our favourite builder for some time just because of the naming functionality, where we prepare the block for our clients to recognize very easily. Just imagine instead of “Row” they can see “Services block” or something like that. This will make your plugin brilliant. We missed this functionality so much that we were preparing to develop a plugin like yours haha. However there it is, and it is good, so please continue your good work!
Forum: Plugins
In reply to: [Custom Query Blocks] archive true but posttype not viewed in listFound my error. Sorry.
Forum: Plugins
In reply to: [Custom Query Blocks] archive true but posttype not viewed in listHi, having the same issue here. I have set ‘show_in_rest’ => true, but it didn’t help like in the previous case above.
Here is my CPT:
function create_posttype() {
register_post_type( ‘works’,
// CPT Options
array(
‘labels’ => array(
‘name’ => __( ‘Works’ ),
‘singular_name’ => __( ‘Work’ )
),
‘public’ => true,
‘has_archive’ => true,
‘rewrite’ => array(‘slug’ => ‘works’),
)
);
}
// Hooking up to theme setup
add_action( ‘init’, ‘create_posttype’ );/*
* Creating a function to create our CPT
*/function custom_post_type() {
// Set UI labels for Custom Post Type
$labels = array(
‘name’ => _x( ‘Works’, ‘Post Type General Name’, ‘fstheme’ ),
‘singular_name’ => _x( ‘Work’, ‘Post Type Singular Name’, ‘fstheme’ ),
‘menu_name’ => __( ‘Works’, ‘fstheme’ ),
‘parent_item_colon’ => __( ‘Parent Work’, ‘fstheme’ ),
‘all_items’ => __( ‘All Works’, ‘fstheme’ ),
‘view_item’ => __( ‘View Work’, ‘fstheme’ ),
‘add_new_item’ => __( ‘Add New Work’, ‘fstheme’ ),
‘add_new’ => __( ‘Add New’, ‘fstheme’ ),
‘edit_item’ => __( ‘Edit Work’, ‘fstheme’ ),
‘update_item’ => __( ‘Update Work’, ‘fstheme’ ),
‘search_items’ => __( ‘Search Work’, ‘fstheme’ ),
‘not_found’ => __( ‘Not Found’, ‘fstheme’ ),
‘not_found_in_trash’ => __( ‘Not found in Trash’, ‘fstheme’ ),
);// Set other options for Custom Post Type
$args = array(
‘label’ => __( ‘works’, ‘fstheme’ ),
‘description’ => __( ‘Fredrik Sixten Works’, ‘fstheme’ ),
‘labels’ => $labels,
// Features this CPT supports in Post Editor
‘supports’ => array( ‘title’, ‘editor’, ‘excerpt’, ‘thumbnail’, ‘revisions’, ),
// You can associate this CPT with a taxonomy or custom taxonomy.
‘taxonomies’ => array( ‘works_categories’ ),
/* A hierarchical CPT is like Pages and can have
* Parent and child items. A non-hierarchical CPT
* is like Posts.
*/
‘hierarchical’ => false,
‘public’ => true,
‘show_ui’ => true,
‘show_in_menu’ => true,
‘show_in_nav_menus’ => true,
‘show_in_rest’ => true,
‘show_in_admin_bar’ => true,
‘menu_position’ => 10,
‘can_export’ => true,
‘has_archive’ => true,
‘exclude_from_search’ => false,
‘publicly_queryable’ => true,
‘capability_type’ => ‘post’,
);// Registering your Custom Post Type
register_post_type( ‘works’, $args );}
Forum: Plugins
In reply to: [PW WooCommerce Gift Cards] Remove currency from the product nameok, thank you very much for your time.
Forum: Plugins
In reply to: [PW WooCommerce Gift Cards] Remove currency from the product nameI know about this option. However in this option the conversion is not done (in the dropdown): https://i.imgur.com/Q3Ernkh.jpg That’s why we used the other option, where the currency is shown but we are not doing conversion but we use same amount for all currencies, i.e. $50, 50eur, and 50gbp. https://i.imgur.com/1Fq6m3n.jpg This all works well until we see the $ sign as I stated in my previous post. Any other idea?
- This reply was modified 7 years, 2 months ago by hyberman.
Yep I am using the [recaptcha] tag offered by Contact Form 7. I have moved on with the other solution too.
@living_death, could you please share the solution? Thanks.
Forum: Plugins
In reply to: [Redux Framework] problem permission denied plugin Redux FrameworkThanks polsola, saved my day too! Good lesson for any WP cloning.