tanyakorteling
Forum Replies Created
-
Forum: Plugins
In reply to: [Ginger - EU Cookie Law] New releases soon!Hi, Will you be fixing the issue where the consent pop-up still appears on mobile even after a user has accepted cookies.
The plugin settings allow you to set it for desktop so the consent pop-in is disabled after a user accepts cookies – we really need it to do the same for mobile please or users are going to find it really annoying.
Would be great if this could be fixed please! Thankyou!
Forum: Fixing WordPress
In reply to: Image filename problem – number string being added to the endPerfect thanks:-)
Forum: Fixing WordPress
In reply to: Image filename problem – number string being added to the endHi Steve; That’s great thank you.
I’d like to keep that plugin to help my image load speeds but do you know if having this number string will actually negatively impact my SEO?
Thanks
tanyaForum: Fixing WordPress
In reply to: Image filename problem – number string being added to the endHi;
I have Image Rotation Fixer, Regenerate Thumbnails, Smush and Simple Image Sizes installed. However, they’ve been installed from when I set the blog up 2 years ago and the problem has only recently started.
A link to one of the blog posts with problem images in is https://www.cantravelwilltravel.com/puerto-morelos-snorkelling-tour-mexico/
Thanks
Tanya- This reply was modified 6 years, 11 months ago by tanyakorteling.
Forum: Themes and Templates
In reply to: [Travelify] RSS Feed invalid in MailchimpHi Vinod;
Thanks for your reply. Someone has picked up my issue now so hopefully it will be resolved soon!
Thanks
TanyaForum: Themes and Templates
In reply to: [Travelify] RSS Feed invalid in MailchimpHi;
I’m not getting any response from the forum you suggested:
https://colorlib.com/wp/forums/forum/travelify-support/
Is there anyone else on here that could help me please? I’m at a complete loss as to how to resolve this problem
Thanks
TanyaForum: Themes and Templates
In reply to: [Travelify] RSS Feed invalid in MailchimpHi;
Can anyone help with this please??
Thanks
TanyaForum: Themes and Templates
In reply to: [Travelify] RSS Feed invalid in MailchimpHi;
Thanks for your reply. It doesn’t seem to work with either the travelify theme or my travelfiy child theme. However it does work with twenty Sixteen AND when I tried it yesterday the travelify child theme was working.
Any ideas?
Thanks
TanyaForum: Fixing WordPress
In reply to: MailChimp says RSS feed is invalidHi;
I’ve tried what you suggested; it still didn’t work when I deactivated all the plugins so I changed the theme and it now works.
So it seems it’s a problem with my travelify theme. Can you advise how to correct this please as I really need to use the travelify theme!
Thanks
TanyaHi Free WP TP;
I’ve managed to regain access to my website by reverting the functions.php file to it’s original code via my host.
I’ve now tried what you suggested above (removing the closing tag). However the full route map is still not showing.
The exact code that is now there is as follows:
<?php
/*
* Custom functions that overwrites original Travelify functionality
*/
add_action( ‘wp_enqueue_scripts’, ‘travelify_enqueue_styles’ );
function travelify_enqueue_styles() {
wp_enqueue_style( ‘travelify-parent-style’, get_template_directory_uri() . ‘/style.css’ );}
/****************************************************************************************/
if ( ! function_exists( ‘travelify_theloop_for_template_blog_image_large’ ) ) :
/**
* Fuction to show the content of page template blog image large content.
*/
function travelify_theloop_for_template_blog_image_large() {
global $post;global $wp_query, $paged;
if( get_query_var( ‘paged’ ) ) {
$paged = get_query_var( ‘paged’ );
}
elseif( get_query_var( ‘page’ ) ) {
$paged = get_query_var( ‘page’ );
}
else {
$paged = 1;
}
$blog_query = new WP_Query( array( ‘post_type’ => ‘post’, ‘paged’ => $paged ) );
$temp_query = $wp_query;
$wp_query = null;
$wp_query = $blog_query;if( $blog_query->have_posts() ) {
$counter = 1;
while( $blog_query->have_posts() ) {
$blog_query->the_post();do_action( ‘travelify_before_post’ );
?>
<section id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
<article><?php do_action( ‘travelify_before_post_header’ ); ?>
<?php do_action( ‘travelify_after_post_header’ ); ?>
<?php do_action( ‘travelify_before_post_content’ ); ?>
<?php
if( has_post_thumbnail() ) {
$image = ”;
$title_attribute = apply_filters( ‘the_title’, get_the_title( $post->ID ) );
$image .= ‘<figure class=”post-featured-image”>’;
$image .= ‘‘;
$image .= get_the_post_thumbnail( $post->ID, ‘featured’, array( ‘title’ => esc_attr( $title_attribute ), ‘alt’ => esc_attr( $title_attribute ) ) ).’‘;
$image .= ‘</figure>’;echo $image;
}
?>
<header class=”entry-header”>
<h2 class=”entry-title”>
” title=”<?php the_title_attribute();?>”><?php the_title(); ?>
</h2><!– .entry-title –>
</header>
<div class=”entry-content clearfix”>
<?php
if ( $counter === 1 ) {
the_content();
} else {
the_excerpt();
}
$counter++;
?>
</div><?php do_action( ‘travelify_after_post_content’ ); ?>
<?php do_action( ‘travelify_before_post_meta’ ); ?>
<div class=”entry-meta-bar clearfix”>
<div class=”entry-meta”>
<span class=”author”>“><?php the_author(); ?></span>
<span class=”date”>” title=”<?php echo esc_attr( get_the_time() ); ?>”><?php the_time( get_option( ‘date_format’ ) ); ?></span>
<?php if( has_category() ) { ?>
<span class=”category”><?php the_category(‘, ‘); ?></span>
<?php } ?>
<?php if ( comments_open() ) { ?>
<span class=”comments”><?php comments_popup_link( __( ‘No Comments’, ‘travelify’ ), __( ‘1 Comment’, ‘travelify’ ), __( ‘% Comments’, ‘travelify’ ), ”, __( ‘Comments Off’, ‘travelify’ ) ); ?></span>
<?php } ?>
</div><!– .entry-meta –>
<?php
echo ‘‘.__( ‘Read more’, ‘travelify’ ).’‘;
?>
</div><?php do_action( ‘travelify_after_post_meta’ ); ?>
</article>
</section>
<?php
do_action( ‘travelify_after_post’ );}
if ( function_exists(‘wp_pagenavi’ ) ) {
wp_pagenavi();
}
else {
if ( $wp_query->max_num_pages > 1 ) {
?>
<ul class=”default-wp-page clearfix”>
<li class=”previous”><?php next_posts_link( __( ‘« Previous’, ‘travelify’ ), $wp_query->max_num_pages ); ?>
<li class=”next”><?php previous_posts_link( __( ‘Next »’, ‘travelify’ ), $wp_query->max_num_pages ); ?><?php
}
}
}
else {
?>
<h1 class=”entry-title”><?php _e( ‘No Posts Found.’, ‘travelify’ ); ?></h1>
<?php
}
$wp_query = $temp_query;
wp_reset_postdata();
}
endif;/***********************************************************
Do I need to change something else in the code in order to get this to work please?
Thanks
TanyaHi;
Thanks for your reply but the problem is I can no longer
even get into my website to amend the functions.php
file. I’m just getting the white screen with internal 500
error.Assume this has been caused when I amended the functions.php file. Do you have any idea how to resolve this please?
Thanks
TanyaHi;
Can anyone help me to resolve the above please. Since I followed the instructions above I have been unable to access my wesbite at all. The screen is just white with the internal error 500.
So I can’t even access the admin to reverse the changes I made which were to install a child theme and amend the php file as recommended to show the sticky.
I really hope someone can help please as worried I won’t be able to get any of it back again!
Thanks
TanyaHi;
I’ve tried to do this but it doesn’t work. It errors. The error says:
“The https://www.cantravelwilltravel.com page isn’t working
https://www.cantravelwilltravel.com is currently unable to handle this request.
HTTP ERROR 500″Please can you advise do I just cut and paste the code suggested UNDER what is already in the functions.php or do I overwrite it completely? The current code showing is:
<?php
/*
* Custom functions that overwrites original Travelify functionality
*/
add_action( ‘wp_enqueue_scripts’, ‘travelify_enqueue_styles’ );
function travelify_enqueue_styles() {
wp_enqueue_style( ‘travelify-parent-style’, get_template_directory_uri() . ‘/style.css’ );}
?>
Any help on this would be greatly appreciated please!
Thanks
TanyaForum: Plugins
In reply to: Adding Legend to a 'Visited Countries map'Hi;
Can anyone help with this please – my website is cantravelwilltravel.com and the page this is on is in About > Our Journey
Thanks
TanyaHi;
Thanks for your reply.
It’s https://www.cantravelwilltravel.com.
Whilst you’re in there do you also know how to add a colour coded legend to the map so I can show blue route as planned, and red route as past (or similar) please?
Thanks
Tanya