persulla
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Virtue] Color Page NameRight, but for what I know, to overwrite Theme’s preference, you need to add !important, which is not recommended, unless it is necessary. Therefore it is always better to set up Theme Preferences first.
By the way, @daviadorna: did you create your own child theme?
Forum: Themes and Templates
In reply to: [Virtue] Color Page NameAh! right, I was just talking normal CSS ??
Forum: Themes and Templates
In reply to: [Virtue] Color Page NameRight!
You pasted the wrong link, that’s why ??So the code is
h1.entry-title {
color: black;
}substitute black with # followed by the code of your color.
hope this time it helped!
Forum: Themes and Templates
In reply to: [Virtue] Color Page NameDo you mean “Pró-Reitoria de Gest?o de Pessoas”?
I am not sure of what you mean by “headerpage”.If so, here’s my suggestion:
.kad_tagline {
color: black;
}substitute black with # followed by the code of your color.
hope this helped!
Forum: Themes and Templates
In reply to: [Virtue] How to change the color of the top menu buttons?Try this:
.current-menu-item:hover {
background: #fff !important;
}(I set it to white, but you may use any color)
:hover is the CSS you should use for items when you move the mouse over them.
Hope this helps!
Forum: Themes and Templates
In reply to: [New Zea] Image underneath page titleHello,
sorry, I didn’t receive the notification!
It’s sorted now.Thank you!
FrancescaAny reply?
Forum: Themes and Templates
In reply to: [Virtue] Pagination in Homepage for postsHi Kevin,
Thank you very much,
In the meanwhile I actually got to the solution of the second problem on my own, but no worries for the delay, it’s ok ??I know pagebuilder even if I am not a fan, but I will try it with your theme: maybe it work better as it is integrated.
Anyway, may you tell me where is the homepage php sourcecode, just in case I need it? I really cannot find it ??Thank you again,
May I leave a review for you?Francesca
Forum: Themes and Templates
In reply to: [Virtue] Pagination in Homepage for postsHi Kevin,
Sorry, I know that I am asking a lot of questions ??
I have another one: why I can’t show my blog posts on another page, rather than on homepage?
I mean, in my website settings I set up Homepage as a static page, while Eventi as the Blog Archive. However, when I click on Eventi it redirects me on the Homepage, probably because in the Homepage Layout I chose to show “Last posts”. My problem is that: I need to show the last few posts on the homepage, but I also need another page – Eventi – as the archive, in order for the user to be able to see all the events.Thank you for your help,
Have a nice day,
Francesca
Forum: Themes and Templates
In reply to: [Virtue] Pagination in Homepage for postsHi Kevin,
That really worked wonderfully, thank you very much!May I also ask you if I could add another “Page Content” block into my homepage layout?
Because I would like to add divider between 2 blocks.Anyway, I also searched into the php files but I couldn’t quite get where to look for the homepage sourcecode. I had a look at home.php but that’s not really useful.
Thank you very much.
May I rate the Customer Service somewhere?Francesca
This is the code I found on that file:
<?php $real_post = $post;
$ent_attrs = get_option(‘wp_easy_events_attr_list’);
?>
<div style=”position:relative” class=”emd-container”>
<div id=”wpee-content”>
<div id=”wpee-event-toolbar” class=”grid-100 padding-10″> ” data-start=”<?php echo mysql2date(‘l, F j, Y g:i a’, emd_translate_date_format($ent_attrs[’emd_wpe_event’][’emd_event_startdate’], emd_mb_meta(’emd_event_startdate’))); ?>” data-end=”<?php echo mysql2date(‘l, F j, Y g:i a’, emd_translate_date_format($ent_attrs[’emd_wpe_event’][’emd_event_enddate’], emd_mb_meta(’emd_event_enddate’))); ?>” href=”#” id=”ical-button-id”><?php _e(‘iCal Export’, ‘wp-easy-events’); ?> &details=<?php echo $post->post_content; ?>&location=LOCATION&dates=<?php echo mysql2date(‘Ymd’, emd_translate_date_format($ent_attrs[’emd_wpe_event’][’emd_event_startdate’], emd_mb_meta(’emd_event_startdate’))); ?>T<?php echo mysql2date(‘his’, emd_translate_date_format($ent_attrs[’emd_wpe_event’][’emd_event_startdate’], emd_mb_meta(’emd_event_startdate’))); ?>/<?php echo mysql2date(‘Ymd’, emd_translate_date_format($ent_attrs[’emd_wpe_event’][’emd_event_enddate’], emd_mb_meta(’emd_event_enddate’))); ?>T<?php echo mysql2date(‘his’, emd_translate_date_format($ent_attrs[’emd_wpe_event’][’emd_event_enddate’], emd_mb_meta(’emd_event_enddate’))); ?>&trp=false&sprop=&sprop=name:” id=”gcal-button-id” target=”_blank”><?php _e(‘Google Calendar Export’, ‘wp-easy-events’); ?> </div>
<div class=”grid-60 mobile-grid-100″>
<?php $images = emd_mb_meta(’emd_event_picture’, ‘type=plupload_image’);
if (!empty($images)) {
foreach ($images as $image) {
$full = wp_get_attachment_image_src($image[‘ID’], ‘full’); ?>
‘ title='<?php echo esc_attr($image[‘title’]); ?>’ rel=’thickbox’>‘ width='<?php echo esc_attr($full[1]); ?>’ height='<?php echo esc_attr($full[2]); ?>’ alt='<?php echo esc_attr($image[‘alt’]); ?>’ class=’emd-image’/>
<?php
}
}
?>
</div>
<div class=”single-event-section grid-40 mobile-grid-100 padding-10″>
<div class=”event-well”>
<div class=”section-row”> <span class=”section-title”><?php echo emd_human_readable_date_range(emd_translate_date_format($ent_attrs[’emd_wpe_event’][’emd_event_startdate’], emd_mb_meta(’emd_event_startdate’)) , emd_translate_date_format($ent_attrs[’emd_wpe_event’][’emd_event_enddate’], emd_mb_meta(’emd_event_enddate’))); ?></span> </div>
<div class=”section-row”> <span class=”section-title”><?php _e(‘Website’, ‘wp-easy-events’); ?>:</span>
“><?php echo esc_html(emd_mb_meta(’emd_event_external_url’)); ?>
</div>
<?php echo ((emd_mb_meta(’emd_event_timezone’)) ? ”
<div class=\”section-row\”> <span class=\”section-title\”>” . __(‘Timezone’, ‘wp-easy-events’) . “:</span> <span class=\”section-value\”>” . emd_mb_meta(’emd_event_timezone’) . “</span> </div>
” : “”); ?>
<div class=”section-row”> <span class=”section-title”><?php _e(‘Cost’, ‘wp-easy-events’); ?>:</span> <span class=”section-value”><?php echo esc_html(emd_mb_meta(’emd_event_cost’)); ?>
</span> </div>
<?php if (emd_mb_meta(’emd_event_registration_type’) == ‘rsvp’) {
$modal_content = do_shortcode(“[event_attendee set=\”rel::event_attendee::is::” . get_the_ID() . “\”]”);
$modal_button = __(‘RSVP NOW’, ‘wp-easy-events’);
$modal_heading = __(‘RSVP’, ‘wp-easy-events’);
} elseif (emd_mb_meta(’emd_event_registration_type’) == ‘edd’) {
if (shortcode_exists(‘wpas_edd_product_edd_event_tickets’)) {
$modal_content = do_shortcode(“[wpas_edd_product_edd_event_tickets con_name=’edd_event_tickets’ app_name=’wp_easy_events’ type=’layout’ post= ” . get_the_ID() . “]”);
}
$modal_button = __(‘Tickets’, ‘wp-easy-events’);
$modal_heading = __(‘Buy’, ‘wp-easy-events’);
} elseif (emd_mb_meta(’emd_event_registration_type’) == ‘woo’) {
if (shortcode_exists(‘wpas_woo_product_woo_event_tickets’)) {
$modal_content = do_shortcode(“[wpas_woo_product_woo_event_tickets con_name=’woo_event_tickets’ app_name=’wp_easy_events’ type=’layout’ post= ” . get_the_ID() . “]”);
}
$modal_button = __(‘Tickets’, ‘wp-easy-events’);
$modal_heading = __(‘Buy’, ‘wp-easy-events’);
}
if (!empty(emd_mb_meta(’emd_event_registration_type’)) && emd_mb_meta(’emd_event_registration_type’) != ‘none’) {
echo ‘
<div class=”section-row” style=”margin:10px 0″> ‘;
echo $modal_button;
echo ‘ </div>
<!– Modal –>
<div id=”signup”>
<div id=”signup-ct”>
<div id=”signup-header”>’;
echo $modal_heading . ‘??‘ . get_the_title();
echo ‘</div>
<div style=”padding:15px”>’;
echo $modal_content;
echo ‘</div>
</div>
</div>
‘;
} ?>
</div>
</div>
</div>
<div class=”single-event-content-section grid-100 padding-30″ id=”event-content”> <?php echo $post->post_content; ?> </div>
<div class=”single-event-cat-section grid-100 padding-10″>
<div class=”tax-emd-event-cat”> <span class=”section-title”>Categories:</span> <?php echo emd_get_tax_vals(get_the_ID() , ’emd_event_cat’); ?> </div>
<div class=”tax-emd-event-tag”> <span class=”section-title”>Tags:</span> <?php echo emd_get_tax_vals(get_the_ID() , ’emd_event_tag’); ?> </div>
</div>
<div class=”single-event-venue-section grid-50 mobile-grid-100 padding-10″>
<div class=”single-event-venue-title font-bold padding-5″> <?php _e(‘Venue’, ‘wp-easy-events’); ?> </div><?php $post = get_post();
$rel_filter = “”;
$res = emd_get_p2p_connections(‘connected’, ‘event_venue’, ‘std’, $post, 0, 0, ”, ‘wp_easy_events’, $rel_filter);
if (!empty($res[‘rels’])) {
?>
<section class=”venue-section”><?php
echo $res[‘before_list’];
$real_post = $post;
$rel_count_id = 1;
foreach ($res[‘rels’] as $myrel) {
$post = $myrel;
echo $res[‘before_item’]; ?>
<div class=”section-row”>
ID); ?>” title=”<?php echo get_the_title(); ?>”><span id=”event-venue” data-fulladdress=”<?php echo esc_html(emd_mb_meta(’emd_venue_fulladdress’, ”, $myrel->ID)); ?>” class=”section-value”><?php echo get_the_title(); ?></span>
</div>
<div class=”section-row”>
<span class=”section-title”><?php _e(‘Address’, ‘wp-easy-events’); ?>:</span> <span class=”section-value”><?php echo esc_html(emd_mb_meta(’emd_venue_address’, ”, $myrel->ID)); ?></span>
</div>
<div class=”section-row”>
<span class=”section-title”><?php _e(‘City’, ‘wp-easy-events’); ?>:</span> <span class=”section-value”><?php echo esc_html(emd_mb_meta(’emd_venue_city’, ”, $myrel->ID)); ?></span>
</div>
<div class=”section-row”>
<span class=”section-title”><?php _e(‘State’, ‘wp-easy-events’); ?>:</span> <span class=”section-value”><?php echo esc_html(emd_mb_meta(’emd_venue_state’, ”, $myrel->ID)); ?></span>
</div>
<div class=”section-row”>
<span class=”section-title”><?php _e(‘Postal Code’, ‘wp-easy-events’); ?>:</span> <span class=”section-value”><?php echo esc_html(emd_mb_meta(’emd_venue_postcode’, ”, $myrel->ID)); ?></span>
</div>
<div class=”section-row”>
<span class=”section-title”><?php _e(‘Country’, ‘wp-easy-events’); ?>:</span> <span class=”section-value”><?php echo esc_html(emd_mb_meta(’emd_venue_country’, ”, $myrel->ID)); ?></span>
</div>
<div class=”section-row”>
See Map
</div><?php
echo $res[‘after_item’];
$rel_count_id++;
}
$post = $real_post;
echo $res[‘after_list’]; ?>
</section><?php
} ?></div>
<div class=”single-event-org-section grid-50 mobile-grid-100 padding-10″>
<div class=”single-event-org-title font-bold padding-5″> <?php _e(‘Organizer’, ‘wp-easy-events’); ?> </div><?php $post = get_post();
$rel_filter = “”;
$res = emd_get_p2p_connections(‘connected’, ‘event_organizer’, ‘std’, $post, 1, 0, ”, ‘wp_easy_events’, $rel_filter);
if (!empty($res[‘rels’])) {
?>
<section class=”organizer-section”><?php
echo $res[‘before_list’];
$real_post = $post;
$rel_count_id = 1;
foreach ($res[‘rels’] as $myrel) {
$post = $myrel;
echo $res[‘before_item’]; ?>
<div class=”section-row”>
ID); ?>” title=”<?php echo get_the_title(); ?>”><span class=”section-value”><?php echo get_the_title(); ?></span>
</div>
<div class=”section-row”>
<span class=”section-title”><?php _e(‘Email’, ‘wp-easy-events’); ?>:</span> <span class=”section-value”><?php echo esc_html(emd_mb_meta(’emd_eo_email’, ”, $myrel->ID)); ?></span>
</div>
<div class=”section-row”>
<span class=”section-title”><?php _e(‘Phone’, ‘wp-easy-events’); ?>:</span> <span class=”section-value”><?php echo esc_html(emd_mb_meta(’emd_eo_phone’, ”, $myrel->ID)); ?></span>
</div>
<div class=”section-row”>
<span class=”section-title”><?php _e(‘Website’, ‘wp-easy-events’); ?>:</span> ID)); ?>” class=”section-value”><?php echo esc_html(emd_mb_meta(’emd_eo_website’, ”, $myrel->ID)); ?>
</div><?php
echo $res[‘after_item’];
$rel_count_id++;
}
$post = $real_post;
echo $res[‘after_list’]; ?>
</section><?php
} ?></div>
</div><!–container-end–>- This reply was modified 8 years, 1 month ago by persulla.
Forum: Themes and Templates
In reply to: [Virtue] Pagination in Homepage for postsHi Kevin,
Thank you very much for your help.
Actually I really need to find a way at least to show a button that may lead to the archive page with all the posts (I don’t want to show all of them in the homepage)
Is that possible?Forum: Plugins
In reply to: [Column Shortcodes] Top of column not aligningOk I am an idiot! Sorry I solved the issue ??
Forum: Plugins
In reply to: [Column Shortcodes] Top of column not aligningHi, I tried the same and it didn’t work!
Also, now the shortcode to use is [column-group] [column span=”3″]
where 3 I guess is the portion of the page (as I need 3 columns of the same dimension).Before reading this post I had the same problem of DEP Tech, but now that I tried your solution it’s even worst, I can see the code on my page!
Forum: Plugins
In reply to: [Column Shortcodes] Shortcode Columns Problems in WP 4.4.2me too! anyone on this?