Forum Replies Created
-
AuthorPosts
-
March 16, 2017 at 6:03 am in reply to: Extra spaces in list view between text and ‘Continue reading’ #1255001
Dale Norenberg
ParticipantThank you for your time to help detect the issue, I have contacted AddThis to resolve the issue.
Dale Norenberg
ParticipantGoeff,
I believe that worked — You’re a genius! I will have someone look it over thoroughly. Thanks so much for all of your help and patience.
Dale
Dale Norenberg
ParticipantGoeff,
I should clarify. Using the above code, the event pages comments look great. But the code also deletes the comments from the pages and posts. Any ideas on how to make this code work only on the event pages?
Thanks
Dale Norenberg
ParticipantGoeff,
This code deletes the comments from the pages and posts. Any other ideas?
Dale Norenberg
ParticipantThis reply is private.
-
This reply was modified 10 years, 1 month ago by
Dale Norenberg.
Dale Norenberg
ParticipantAs mentioned previously, the code you supplied comments out the first set of comments which are showing the reply comments.
I need code to comment out the second set of comments which do not show the reply comments.
Thanks
RochelleDale Norenberg
ParticipantWould you be so kind as to give me the update CSS rule that should hide the other comment block
Thanks
Dale Norenberg
ParticipantThis reply is private.
April 15, 2015 at 7:26 am in reply to: Problem when clicking any of the links – dates, or to advance to next month #955695Dale Norenberg
ParticipantThanks, that worked. I see you have a new update to the plugin. If I update, will I have to worry about any of the changes that were made to resolve the problems I have submitted in the last month?
Rochelle
Dale Norenberg
ParticipantThanks, that worked
Dale Norenberg
ParticipantI also asked Jetpack how to add the necessary code. This is their answer.
http://jetpack.me/support/publicize/#custom-post-types
How to use Publicize with your Custom Post Types
By default, Publicize is only triggered when you publish a new post. You can, however, extend this to other Custom Post Types. You have 2 options to add Publicize Support to a Custom Post Type:
You can add Publicize support to an existing post type thanks to the add_post_type_support() function. To do so, add the following code to a functionality plugin:
add_action(‘init’, ‘my_custom_init’);
function my_custom_init() {
add_post_type_support( ‘product’, ‘publicize’ );
}
You’ll need to replace “product” by your Custom Post Type name.You can add Publicize support when registering the post type, like so:
// Register Custom Post Type
function custom_post_type() {$labels = array(
‘name’ => _x( ‘Products’, ‘Post Type General Name’, ‘text_domain’ ),
);
$args = array(
‘label’ => __( ‘product’, ‘text_domain’ ),
‘supports’ => array( ‘title’, ‘editor’, ‘publicize’, ‘wpcom-markdown’ ),
);
register_post_type( ‘product’, $args );}
// Hook into the ‘init’ action
add_action( ‘init’, ‘custom_post_type’, 0 );Can you tell we which file in the Events Calendar Plugin directory I should add the code to.
Thanks,
Rochelle
Dale Norenberg
ParticipantThis reply is private.
Dale Norenberg
ParticipantThis reply is private.
Dale Norenberg
ParticipantI sent the reply privately, please confirm receipt
Thanks
Dale Norenberg
ParticipantThis reply is private.
-
This reply was modified 10 years, 1 month ago by
-
AuthorPosts
