Forum Replies Created
-
AuthorPosts
-
Palmtree
ParticipantThis reply is private.
Palmtree
ParticipantThis reply is private.
Palmtree
ParticipantThis reply is private.
-
This reply was modified 8 years, 7 months ago by
Palmtree.
Palmtree
ParticipantHi András,
You are right, I have modified a bit. Now I went back and used the original code shown below… And still doesn’t work. I pasted into theme’s functions.php
Is there something I am still missing here? I appreciate if you could take a look at my code.
add_action( 'wp_footer', function() { echo <<<HTML <script type="text/javascript"> if ( 'function' === typeof jQuery && 'function' === typeof jQuery.fn.bootstrapDatepicker ) { jQuery.fn.bootstrapDatepicker.dates.jp['titleFormat'] = 'yyyy年m月'; } </script> HTML; }, 1000 );Palmtree
ParticipantThank you Barry!
I have put following code but the screen went complete white…
add_action( 'wp_footer', function() { echo ' <script type="text/javascript"> if ( 'function' === typeof jQuery && 'function' === typeof jQuery.fn.bootstrapDatepicker ) { jQuery.fn.bootstrapDatepicker.dates.jp['titleFormat'] = 'yyyy年m月'; } </script>'; }, 1000 );Am I missing something?
Palmtree
ParticipantAndrás thank you for looking at this. I look forward to hearing from you.
Palmtree
ParticipantThis reply is private.
Palmtree
ParticipantHello Shelby,
Thanks for helping me out:)
I didn’t notice there are two custom post type “events and venue”.Have a good day!
Palmtree
ParticipantHi Shelby,
Thanks for your reply:-)
Yes, I’ve read it but code below (referred from the article)function tribe_remove_venue_from_events( $default_types ) { if ( ! is_array( $default_types ) || empty( $default_types ) ) { return $default_types; } if ( ( $key = array_search( 'tribe_venue', $default_types ) ) !== false ) { unset( $default_types[ $key ] ); } return $default_types; } add_filter( 'tribe_events_register_default_linked_post_types', 'tribe_remove_venue_from_events');can only remove “venue” from the main event editing area not from the submenu on the left-hand side.
Without adding the filter above, I have actually used CSS to hide it but submenu is difficult to hide without using “function remove_menu and remove_submenu_page”It would be appreciated if you could look into it. Apart from tribe_venue, the piece of code I’ve pasted in my original post work.
-
This reply was modified 8 years, 9 months ago by
Palmtree.
July 5, 2017 at 3:24 am in reply to: Event Organizer Website URL to directly link from "dt" list output #1316207Palmtree
ParticipantYes, it solves the issue!!
Thank you so much:)
July 4, 2017 at 6:20 pm in reply to: Event Organizer Website URL to directly link from "dt" list output #1316076Palmtree
ParticipantI have found that the
<?php echo tribe_get_organizer( $organizer ) ?>can output organizer’s name only.Now what I need is the way to print “URL”.
<?php echo tribe_get_organizer_website_link( $organizer ) ?>this piece of code output both “a href link and url text”. I just want code to print URL text only.Please help…
-
This reply was modified 8 years, 9 months ago by
Palmtree.
July 4, 2017 at 5:29 pm in reply to: Event Organizer Website URL to directly link from "dt" list output #1316063Palmtree
ParticipantI have found that the “organizer.php” (located in the-events-calendar > src > views > modules > meta) plays the role for the meta information output where I want to modify..
On the line 35
It says<?php echo tribe_get_organizer_link( $organizer ) ?>.
I have changed to<?php echo tribe_get_organizer_website_link( $organizer ) ?>
The website URL links are now changed to the way I want to but I want the output text<a href="urllink">OUTPUT TEXT</a>to be not the URL address but actual organizer’s name.Also I’ve noticed when organizer is just one, the plugin output meta information little bit differently which email, phone and weblinks are all out before going into the organizer’s page. I want this single organizer’s output to be the same as multiple organizer’s output as well. I have commented out from line 39 to 72 where it says not multiple to do this. It works..
It would be really appreciated if you could help a bit further.
Thank you.June 22, 2017 at 8:10 pm in reply to: Change the top position of Month (Calendar) View when every time loaded #1302084Palmtree
ParticipantSince you cannot provide solution to change how the next / previous month is loaded (determine how far from the top of the website screen), I have just disabled the ajax load by following the link.
This way I can at least load the calendar from very top of the screen every time the (previous/current/next) month is displayed.
Thanks.
June 20, 2017 at 6:43 am in reply to: Change the top position of Month (Calendar) View when every time loaded #1300457Palmtree
ParticipantHi Cliff,
To share files online, I need to know your email address… otherwise it isn’t private. I don’t want to disclose screencapture or shot in public… I have google drive and dropbox but both works in the same principle.
By the way, did you read my previous message? I explained bit differently. You did not still understand what I want???? I just want to know if it is possible to load the page from very top of the website via ajax. I am sure you know how to do this.
June 19, 2017 at 7:59 pm in reply to: Change the top position of Month (Calendar) View when every time loaded #1300285 -
This reply was modified 8 years, 7 months ago by
-
AuthorPosts
