genepine
Forum Replies Created
-
Hi.
If you just only show archives with carender, put “?tribe_events_cat=your-category-name” after the site address.
https://yoursite.com/?tribe_events_cat=association-sponsoredIf you want add some original headings & paragraphs, you need custmize pages with php.
Hi
@alaasalamaThanks! I can translate it this strings.
#: src/functions/template-tags/general.php:1224 msgid "%s for" msgstr "の%s"
But I have one more trouble that cause from “Word order” in Japanese.
The result of just only translate.
<h3 class="tribe-mobile-day-heading">のワークショップ <span>5月27日(月)</span></h3>
Fig1It need to be change word order.
<h3 class="tribe-mobile-day-heading"><span>5月27日(月)</span>の ワークショップ </h3>
Fig2I found out this part of source.
[your-theme]/tribe-events/month/mobile.php
line 15:
<h3 class="tribe-mobile-day-heading">[[=i18n.for_date]] <span>[[=raw date_name]]<\/span><\/h3>[[ } ]]
So I change order
<h3 class="tribe-mobile-day-heading"><span>[[=raw date_name]]<\/span>[[=i18n.for_date]]<\/h3>[[ } ]]
- This reply was modified 5 years, 10 months ago by genepine. Reason: add image link
Forum: Plugins
In reply to: [The Events Calendar] Change Color PopupHello,
that can restyle yourtheme/tribe-events/tribe-events.css with browser developer tool.tribe-events-calendar .tribe-events-tooltip, {
border: 0;
background-color: #fff;
color: #606060;
padding: .75em 1em 0;
box-shadow: 3px 4px 21px rgba(0,0,0,.38);
}Forum: Plugins
In reply to: [The Events Calendar] date and time seperateHi
I divided the date and time. WordPress date format is “MjD g:ia”.
So divide that format and use <?php echo…
M
j
D
g:iastore the your single-event.php on
wp-content\themes\your-childtheme\tribe-events\single-event.phpThe class name is sample, the design is depend on you.
<div class="event_date_area"> <div class="month"><?php echo tribe_get_start_date( $post->ID, false, 'M' ); ?></div> <div class="start_date"><?php echo tribe_get_start_date( $post->ID, false, 'j' ); ?></div> <div class="start_date_week"><?php echo tribe_get_start_date( $post->ID, false, '(D)' ); ?></div> <div class="start_date_time"><?php echo tribe_get_start_date( $post->ID, false, 'g:ia' ); ?> - </div> <div class="end_date_time"><?php echo tribe_get_end_date( $post->ID, false, 'Mj(D) g:ia' ); ?></div> </div>
the result in html
<div class="event_date_area"> <div class="month">5</div> <div class="start_date">11</div> <div class="start_date_week">(Sat)</div> <div class="start_date_time">1:30pm - </div> <div class="end_date_time">5/11(Sat) 4:00pm</div> </div>
I think that it will become a display problem when crossing the month if the display of the month of the end date is erased.
You want
August 2 – 26 @3pm-3:50pm
when the event end September 2nd, that show August 2 – 2 @3pm-3:50pmI’m happy to be helpful.
Forum: Plugins
In reply to: [User Role Editor] Can’t Add/Edit “Tag” at custom post type of custom roleHello.
I had solved the problem that should be check “edit_posts”.
Thanks!Hi veerap, Thanks reply .
Now I add post area spec.
Use Custom Post Types(The Event Calender).
Hide “default post editor”That could make the integrated fields of input fields with ACF.
https://www.dropbox.com/s/u6lfmdalotdu66o/Image_20181119_162145.png?dl=0So when hide “default post editor”, we have to make custom excerpt.
It would be nice if there was a way to put the value of the input in the standard variable.Hi
write functions.php and delete comment “//” and rewrite “your_post_type(Default:post)”
remove_post_type_support('your_post_type','title');
function my_remove_post_support() { // remove_post_type_support('post','title'); // title // remove_post_type_support('post','editor'); // main editor // remove_post_type_support('post','author'); // // remove_post_type_support('post','thumbnail'); // // remove_post_type_support('post','excerpt'); // // remove_post_type_support('post','trackbacks'); // // remove_post_type_support('post','custom-fields'); // // remove_post_type_support('post','comments'); // // remove_post_type_support('post','revisions'); // // remove_post_type_support('post','page-attributes'); // // remove_post_type_support('post','post-formats'); // } add_action('init','my_remove_post_support');
追記させていただきます。
SmartCustomFieldsプラグイン自体を削除する。
SmartCustomFieldsで設定したフィールドのグループ、同グループ内のフィールドが消えてしまう。
それを取り出す手段がない。
既に入力済みのフィールド内データは、投稿内で表示出来ている。
が、フィールドのグループ以下がないために新規入力ができない状況に陥っておりました。
ここでひとまず復旧させました
投稿内の post_custom(‘image’) 等の各変数 ’image’ を取り出し、手動でフィールドグループ、フィールドを再設定する。Takashi Kitajima(@inc2734)さま
ご回答ありがとうございます。
4.1.2 を使用しましたが、設定済みのカスタムフィールドは消えたままでした。基本的なことなのですが
復旧のために一度プラグインをftpで手動削除、その後3.0.0を手動でftpインストール、有効化しました。
SmartCustomFieldsをftpで手動削除/ダッシュボード削除/上書きインストールした際は、同設定済みのカスタムフィールドも削除される仕様でしょうか。Forum: Plugins
In reply to: [The Events Calendar] How get “category_name” on The Event Calender?Hi I could solve this toppic.
<?php /* get data */ $query = new WP_Query( array( 'post_type' => 'tribe_events', 'posts_per_page' => 10, 'tax_query' => array( array( 'taxonomy' => 'tribe_events_cat', 'field' => 'slug', 'terms' => array( 'association-sponsored' ), ), ), ) ); ?> <?php if ( $query->have_posts() ) : ?> <div> <?php while ( $query->have_posts() ) : $query->the_post();?> <h3><a href="<?php the_permalink(); ?>"> <?php the_title(); ?></a></h3> <p><?php echo tribe_get_start_date(); ?></p> <p><?php the_category(", "); ?></p> <p><?php the_excerpt(); ?></p> <?php if ( has_post_thumbnail() ) : ?> <p><?php the_post_thumbnail(); ?></p> <?php endif; ?> <hr /> <?php endwhile; ?> </div> <?php endif; wp_reset_postdata(); ?>
Forum: Plugins
In reply to: [The Events Calendar] add “Read more” link.Thanks @drewbutler
I disabled all plugin without event calender, and I also change the theme to twentysixteen(_child), the issue was same.
By the way, when I use twentysixteen(_child), the last part of excerpt “Read more” is change to post link. So change the way to “Read more”, by function.php
function my_excerpt_more($post) { return '<a href="'. get_permalink($post->ID) . '">' . '…Read More' . '</a>'; } add_filter('excerpt_more', 'my_excerpt_more');
This code of function.php is working plopary.
Then I change the code in list-wiget.php
<div class="btn btn-primary btn-xs"><a href="<?php echo esc_url( get_permalink($post->ID) ); ?>" rel="bookmark">Read More</a></div>
The result is not working.
Forum: Plugins
In reply to: [The Events Calendar] Remove link from title on upcoming widget on home pageHi
Please check how to edit event list widget
https://theeventscalendar.com/knowledgebase/configuring-the-list-widget/then edit list-widget.php, line 44-46 may be
<h4 class="entry-title summary"> <a href="<?php echo esc_url( tribe_get_event_link() ); ?>" rel="bookmark"><?php the_title(); ?></a> </h4>
to
<h4 class="event_title"> <?php the_title(); ?> </h4>
but you will need add event post link somewhere, I think(I cannot do that now…).
- This reply was modified 6 years, 6 months ago by genepine.
Forum: Plugins
In reply to: [The Events Calendar] clone eventsAdd info
If you use same image in post(event), that image also clone at “Media Gallery.Forum: Plugins
In reply to: [The Events Calendar] clone eventsHi
Could be use duplicate post plugin
After the install, go settings> permission > Enable > Event.Forum: Plugins
In reply to: [Events Shortcodes For The Events Calendar] Change the size of Date by CSSHi @baljitdhanjal
Thanks verry GOOD solutions!