madebyaris
Forum Replies Created
-
Hi @huntingerik,
you can try to install a form builder like contact form 7, and then when they gave their email it will send an email of URL to the page where they can get the PDF.Also you can use this plugin : https://www.ads-software.com/plugins/email-before-download/
—-
So in order to download seperate files, they will need to give their email once.
And when they return to the website to download more files they shouldn’t have to give their email again since they did that the first time,
so there should be some for of recognition if the email has been given or not.
—I think it need a little touch code to doing this
- This reply was modified 5 years, 3 months ago by madebyaris.
Forum: Developing with WordPress
In reply to: Custom Post/Taxonomy term archiveCool @portia79 , I hope you change the status to resolved, so other know how to solve it.
Forum: Developing with WordPress
In reply to: Custom Post/Taxonomy term archiveI just re-read your code again. and there’s something problem here, the post type of slug same as the taxonomy slug.
in register post type, you rewrite the slug to
'rewrite' => array('slug' => 'news'),
, try to change the slug (rewrite) of the taxonomy tonews-test
.then don’t forget to refresh it, here the link:
https://codex.www.ads-software.com/Function_Reference/register_post_type#Flushing_Rewrite_on_ActivationForum: Fixing WordPress
In reply to: Backup errorsHi @robertgorter,
I suggest to create a topic here https://www.ads-software.com/support/plugin/updraftplus/it may the fault one of the plugin. we may need more information like the error notification.
you can see how to display the error here: https://www.ads-software.com/support/article/debugging-in-wordpress/#example-wp-config-php-for-debugging
Forum: Fixing WordPress
In reply to: Change size and position of logohi @mcmotorhead
you can ask about Hestia theme here : https://www.ads-software.com/support/theme/hestia/
and yes it’s possible.Forum: Developing with WordPress
In reply to: Custom Post/Taxonomy term archiveHi @portia79 , you forgot to add
public
in news_taxonomy(), add thepublic
into $args, it should look like this$args = array( 'hierarchical' => true, // like categories or tags 'labels' => $labels, 'public' => true, 'show_in_rest' => true, 'show_ui' => true, // add the default UI to this taxonomy 'show_admin_column'=> true, // add the taxonomies to the wordpress admin 'query_var' => true, 'rewrite' => array( 'slug' => 'news'), );
let me know if you still have this issue.
Forum: Developing with WordPress
In reply to: Custom Post/Taxonomy term archiveHi @portia79,
in custom taxonomy code, you forgot to add
public
in the $args, so your code look like thisfunction news_taxonomy() { $labels = array( 'name' => _x( 'News Category', 'Taxonomy General Name' ), 'singular_name' => _x( 'News Category', 'Taxonomy Singular Name' ), 'search_items' => __( 'Search News Category' ), 'all_items' => __( 'All News Categories' ), 'parent_item' => __( 'Parent News Category' ), 'parent_item_colon' => __( 'Parent News Category:' ), 'edit_item' => __( 'Edit News Category' ), 'update_item' => __( 'Update News Category' ), 'add_new_item' => __( 'Add News Category' ), 'new_item_name' => __( 'New News Category' ), 'menu_name' => __( 'News Category' ), ); $args = array( 'hierarchical' => true, // like categories or tags 'labels' => $labels, 'public => true, 'show_in_rest' => true, 'show_ui' => true, // add the default UI to this taxonomy 'show_admin_column'=> true, // add the taxonomies to the wordpress admin 'query_var' => true, 'rewrite' => array( 'slug' => 'news'), ); register_taxonomy( 'news_tax', 'news', $args ); }
you can see the document here : https://developer.www.ads-software.com/reference/functions/register_taxonomy/