Forum Replies Created
-
AuthorPosts
-
Donna
ParticipantThank you!
Donna
ParticipantNeither I’m looking for a way to add duplicate to the edit options here https://www.evernote.com/l/AYESCnvM8t5LX40vJsBk_nxwbeLwnPoRLJUB/image.png
So if someone has an event tomorrow and the same even will happen again in 10 days they can copy the even and just change the date. It’s not a recurring event because it doesn’t happen the same number of days, so it doesn’t follow a recurring pattern.
I found a plugin that will add the duplicate option to the back end, but it doesn’t add it to the front for community.January 12, 2015 at 11:50 am in reply to: Editing an event as an Admin in the dashboard causes authorship change #931678Donna
ParticipantWell we have the settings so an admin must approve them so wouldn’t giving them publishing rights mess that up?
January 12, 2015 at 10:55 am in reply to: Editing an event as an Admin in the dashboard causes authorship change #931653Donna
ParticipantWe actually had to use a Role Manager for SimplePress and I saw back there after writing this that might be the issue. I gave them some additional permissions, do you see anything else in this list I should give them or do you think this should do the trick? https://www.dropbox.com/s/qdqly3hnza2g3q9/Screenshot%202015-01-12%2013.55.07.png?dl=0
January 12, 2015 at 8:51 am in reply to: Editing an event as an Admin in the dashboard causes authorship change #931571Donna
ParticipantSo they are registered, but not as admins. They are registered members via Wishlist, so they do have a user profile with read access to restricted pages, but not editing or back end capabilities – does that make sense?
Donna
ParticipantOk so as mentioned PHP is not my forte, I stick with CSS editing so do you have a partner list or recommended list of people you recommend for these jobs? I see someone else just asked this in the thread, but there’s no answer.
Donna
ParticipantWe did try the other styles nothing changes. Has no one else had issue with comment and sharing being smack in the middle of an event? Is it just me who finds this an odd location? Or am I the only one wanting events to be shared and commented on until now?
We’re not interested at this point in customizing a template, we’re rather happy with what we have. Is there a way to pop the bottom section up to the top, this would put comments and sharing at the bottom by default. If it still requires a custom theme can you direct me to what code is needed to make this happen (hopefully speaking in terms of a person who’s extent of PHP is to be told exactly what code to put exactly where in exactly which file, thanks)Donna
ParticipantI finally pinpointed it https://wordpress.org/support/plugin/jetpack-extras is breaking it – ugh I’m sorry we’ve been using this for years something must have recently snapped on it.
Donna
ParticipantI’m not so concerned with the “next month” as I am with the inability to share events posted on your calendar. Do you recommend a social sharing plugin that does work with your calendar or a calendar that works with social sharing plugins?
Donna
ParticipantAs I mentioned in the previous ticket I did replace the quotes 2x, once in the text edit file and when that still broke the site I pasted the code in the site directly and switched them out right in the file.
Donna
ParticipantSo, I did a staging site this time cause I didn’t want to break the site again and re-did the quotes, that didn’t help I get:
Parse error: syntax error, unexpected T_STRING in /nas/wp/www/staging/indiebusiness/wp-content/themes/streamline/functions.php on line 411
Here’s what’s being put in if you can see what may be wrong?/**
* A function which adds a shortlinks button for ‘portfolio’ post type
*/
function wptuts_shortlinks_for_portfolio( $shortlink, $id, $context ) {
// Context can be post/blog/meta ID or query
$post_id = 0;
if ( ‘query’ == $context && is_singular( ‘tribe_events’ ) ) {
// If context is query use current queried object for ID
$post_id = get_queried_object_id();
}
elseif ( ‘post’ == $context ) {
// If context is post use the passed $id
$post_id = $id;
}
// Only do something if of portfolio post type
if ( ‘tribe_events’ == get_post_type( $post_id ) ) {
$shortlink = home_url( ‘?p=‘ . $post_id );
}
return $shortlink;
}
add_filter( ‘pre_get_shortlink’, ‘wptuts_shortlinks_for_portfolio’, 10, 3 );Donna
ParticipantOh no that code took the site down I got it out but something definitely didn’t like it
Donna
ParticipantSo like:
/**
* A function which adds a shortlinks button for ‘tribe_events’ post type
*/
function wptuts_shortlinks_for_portfolio( $shortlink, $id, $context ) {// Context can be post/blog/meta ID or query
$post_id = 0;if ( ‘query’ == $context && is_singular( ‘tribe_events’ ) ) {
// If context is query use current queried object for ID
$post_id = get_queried_object_id();}
elseif ( ‘post’ == $context ) {// If context is post use the passed $id
$post_id = $id;}
// Only do something if of portfolio post type
if ( ‘tribe_events’ == get_post_type( $post_id ) ) {
$shortlink = home_url( ‘?p=’ . $post_id );
}return $shortlink;
}
add_filter( ‘pre_get_shortlink’, ‘wptuts_shortlinks_for_portfolio’, 10, 3 );what about the word portfolio in the last line referencing wptuts that one to, and put it where in my themes function php? Just want to be sure I am timid with PHP I feel better if I know exactly what to put and where. Thanks!
-
AuthorPosts
