Forum Replies Created
-
AuthorPosts
-
April 20, 2017 at 11:34 am in reply to: Google PageSpeed complains about picture size in (flexible) masonry view #780470
Kwlodar,
I have been using Enfold for several years and image optimization is an area that I have studied extensively without re-codeing enfold.
Your issue is quite common and there is a simple workaround.
Run google page speed on your site. At the bottom of the google page speed page, look for the Google download link (zip) which contains optimized images, minified css and minified js that google has created for your website. Download this file, then open up the zip file, go to the images folder, your optimized images are prepared for you by Google. Next, decide how you want to load them into word press. You can now upload optimized images into your page. Or what I will do is to open my FTP software app and then drag and drop the google optimized image into the path of the original image (overwrite existing file). Clear caches, then rerun Google Speed, and you will not see any more low scores for images.
A second option which works well is to optimize your images before uploading into word press. The BEST program for doing this is a free download and it uses the google and industry protocols for optimization. It is called IMAGEOptim. I have been using for years and it works great. You will need to review how to set preferences for the software.
all the best
March 28, 2017 at 5:48 am in reply to: How to Add Evergreen Last Modified Date for Posts and for SERP #767866Hi Victoria, thanks for the reply and info. I’ll have a go at this after my travels next week. thanks again
March 26, 2017 at 2:16 pm in reply to: How to Add Evergreen Last Modified Date for Posts and for SERP #766937Hi Enfold support,
It has been 11 days since my support request and I am no closer to having any resolution on my simple request.
The request is important to me and I would assume to other users who have evergreen content.
I was advised by SEO consultant that ‘Modern’ themes have capabilities built in to enable ‘Last Modified” dates.
Can support please advise:
I need the code responsible for displaying the date and time.
I was advised by support to look into the enfold single.php……. where is the date and time displayed in the code ???thanks,
Ed
March 24, 2017 at 2:32 pm in reply to: How to Add Evergreen Last Modified Date for Posts and for SERP #766199Hello, I need a little more detail and more help. I’d ask that you look at my question and answer it specifically. I asked:
Please tell me where the enfold theme template tags is located. I could not find it when I looked before. I will need the code responsible for displaying the date and time.
So I have enclosed the enfold single.php……. where is the date and time displayed in the code ???
This is the enfold single PHP where exactly is the date and time displayed in the code.
<?php
if ( !defined(‘ABSPATH’) ){ die(); }global $avia_config;
/*
* get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
*/
get_header();$title = __(‘Blog – Latest News’, ‘avia_framework’); //default blog title
$t_link = home_url(‘/’);
$t_sub = “”;if(avia_get_option(‘frontpage’) && $new = avia_get_option(‘blogpage’))
{
$title = get_the_title($new); //if the blog is attached to a page use this title
$t_link = get_permalink($new);
$t_sub = avia_post_meta($new, ‘subtitle’);
}if( get_post_meta(get_the_ID(), ‘header’, true) != ‘no’) echo avia_title(array(‘heading’=>’strong’, ‘title’ => $title, ‘link’ => $t_link, ‘subtitle’ => $t_sub));
do_action( ‘ava_after_main_title’ );
?>
<div class=’container_wrap container_wrap_first main_color <?php avia_layout_class( ‘main’ ); ?>’>
<div class=’container template-blog template-single-blog ‘>
<main class=’content units <?php avia_layout_class( ‘content’ ); ?> <?php echo avia_blog_class_string(); ?>’ <?php avia_markup_helper(array(‘context’ => ‘content’,’post_type’=>’post’));?>>
<?php
/* Run the loop to output the posts.
* If you want to overload this in a child theme then include a file
* called loop-index.php and that will be used instead.
*
*/get_template_part( ‘includes/loop’, ‘index’ );
//show related posts based on tags if there are any
get_template_part( ‘includes/related-posts’);//wordpress function that loads the comments template “comments.php”
comments_template();?>
<!–end content–>
</main><?php
$avia_config[‘currently_viewing’] = “blog”;
//get the sidebar
get_sidebar();?>
</div><!–end container–>
</div><!– close default .container_wrap element –>
<?php get_footer(); ?>
March 21, 2017 at 7:12 pm in reply to: How to Add Evergreen Last Modified Date for Posts and for SERP #764311Hello Victoria,
I saw those article in my prior search before opening up this support tix.
Let’s work on Modified date on Blog first.
Please tell me where the enfold theme template tags is located. I could not find it when I looked before. I will need the code responsible for displaying the date and time.
Method 2: Add Last Updated Date in Theme Templates
This method requires you to edit specific WordPress theme files. Many WordPress themes now use their own template tags which define how these themes show post meta data like date and time.
Some themes also use content templates or template parts to display posts.
Few simpler themes will use single.php, archive.php, and other template files to show content and meta information.
You will be looking for the code responsible for displaying the date and time. You can then either replace that code with the following code, or add it right after your theme’s date and time code.
1
$u_time = get_the_time(‘U’);
2
$u_modified_time = get_the_modified_time(‘U’);
3
if ($u_modified_time >= $u_time + 86400) {
4
echo “<p>Last modified on “;
5
the_modified_time(‘F jS, Y’);
6
echo ” at “;
7
the_modified_time();
8
echo “</p> “; }thanks
Ed
March 20, 2017 at 2:03 am in reply to: Quick CSS code does not output the same using Custom.css #763406Hi Victoria,
I moved your code into custom.css and deleted the legacy code from quick.css. I am pleased to report that all is working well !
Thanks so much for the help and quick response.
All the best,
Ed
You can close this tix, thanks
March 19, 2017 at 3:46 pm in reply to: How to Add Evergreen Last Modified Date for Posts and for SERP #763213Hello,
Yes I still need support.
As my support tix says, I am using a plugin that has deprecated and is not longer supported. I want to deactivate this plugin, but for the moment it is the only way I can get a Modified on date on blogs.
Secondly, I want to know how to use the Date Modified to my Google Serp and not the Date Posted. A google search on one of my ranking post shows a post date in 2014.
Thanks for reaching out and I look forward to getting started with your idea.
Ed Fritz
March 17, 2017 at 1:46 pm in reply to: How to Add Evergreen Last Modified Date for Posts and for SERP #762481added tag to allow for search on my service request.
Hi Yigit,
thanks a lot !
that works for me,
all the best…
Ed
you may close this tix
Hi,
I am not looking for anything special,
a good search word is ‘berries’
thanks
Edfritzimages.com
Hi Yigit,
Thanks for quick response and link. Everything works, however, I’d like to change the thumbnail dimensions. The results of using the code provided a small round thumbnail. I am interested in a larger square thumb.
Can you please provide some code to accomplish this?
thanks a lot,
Ed
Hi Yigit,
This worked perfect for Mobil, thanks a lot !….I added the snippet to my functions….
I was wondering if there was a way to stop it from Displaying on my main page. I did not notice it before, but when I resize my home page the H1 Company name also shows up.
thanks !
Ed
Hi Vinay,
I appreciate the help, but the problem is more of a chronic nuisance than anything else. I think something is broken in your theme somewhere, as this issue remained an issue for over the past five years. As a matter of fact when I tested your home page, it also fails the alt test for the same issue. Something to do with the transparent logos, I suspect.
I would rather not have you working on the backend, especially since I have already tested for this problem without my plugins activated and all custom .css turned off… Again, I appreciate the help, I was hoping that I had provided enough info and screenshots for you to figure out what it without logging into my site. It is a nuisance issue and I would prefer not to have anyone deactivating plugins etc.. If you have a bug list or future feature list then I’ll add this issue to it.
you can close the tix,
thanks
Ed
Hi Andy,
Okay, I was wondering if there was something that Enfold theme could be modified with…I’ll check the forum
Ed
Hi Sadegh,
I had same issue with lack of H1 heading on my home page,
I found this code by Enfold http://kriesi.at/documentation/enfold/add-subtext-to-logo-replace-logo-with-site-title/. the second code snippet allows you to adds H1 when you only use a LOGO on your page. Very nice solution for me, maybe it’s what you are looking for.
The only problem is that code is not mobile friendly and adds huge H1 text to your Mobil phone which almost blocks up your page on mobile.
I have recently put in a help ticket to ask support if the code can be fixed for mobile
Also, FYI, I m using free Moz bar fro chrome to check my page https://chrome.google.com/webstore/search/mozbar
ed
fritzimages.comI had a similar problem with recent update, but it was my fault because I did not update robots.txt file.
The first thing I did was to ID primary blocked URL’s
If you have Google webmaster, you can see your blocked resources. http://prntscr.com/e8etbx
you can then test the blocked URL in Google webmaster tool Robotx.txt http://prntscr.com/e8eu1e
then update robots.txt
or you can
Fetch as Google your home url using the Fetch and Render, then click on status and blocked URL will be identified by Google.
then you’ll ned to update robots.txtthat is how I handled it, but maybe your situation is not the same….
Did you get a chance to goto my site fritzimages.com on a mobile device and see the large H1 fonts on the home page after using your function code for desktop.
I like the desktop H1 for SEO, but it is almost blocking entire mobile home page on am iphone.
Is it possible to us only for desktop?
Resend –
Hello,
I was testing my site for SEO scoring and it was brought to my attention the search bar has a ? format
http://prntscr.com/e6stsf
example:
blog/2010/looking-good/3842/?s=Is there a way that the ? can be removed from the search theme
thanks
Okay I will enable the code again. BTW the code was found on your enfold documentation site, http://kriesi.at/documentation/enfold/add-subtext-to-logo-replace-logo-with-site-title/again.
fritzimages.con
- This reply was modified 7 years, 9 months ago by EdFritz.
Hi,
I have been able to hold off for awhile because I have had the previous unfortunate problem of my theme being broken and it taking weeks or months for a theme revision roll out or patch to fix incompatibilities. I always check support page before updates and see how early adopters of theme or WP updates make out.
However this time, this WP exploit is a MAJOR issue. There has been a lot of press about it, and I heard about it early on and made update. Yet, some sites are really getting clobbered, it is a massive hack….
More News https://www.wordfence.com/blog/2017/02/rapid-growth-in-rest-api-defacements/
I would consider putting out a service bulletin as a sticky post in your landing page (if I were in your shoes……:))
All the best, and its good advice, “to encourage our customers to update both theme, plugins and WordPress itself to the current versions to avoid any breaches of security.”
thanks for the support- you guys do a great job
Ed
Hi,
You can close this tix,
Before your reply I installed the same plugin, then I cleared caches and the query strings have disappeared. Not sure we’ll ever know why the function script plugin broke with this version of Enfold. I’ll keep an eye open for updates, or perhaps I’ll try to put the function directly in Enfold/function.php.
thanks
I thought I’d check in to see if you have forgotten me ….
I have had to install plugin to remove query strings .
Is there any way to do this in the theme wo a 3rd party plugin.
I was able to use a function, but it broke site , as I noted above.
Should I start a new thread, thanks a lot for the suppot
Hi Yigit,
I decided to put some more time into this…..
I used Enfold 3.8.5, copied custom CSS from V3.1.5 and added span.blog-categories {display: none;} to custom .CSS
I deactivated all plugins.
I found the problem, I have plugin where I can add function Scripts.
When I deactive the function script to remove ?? for static content
function _remove_script_version( $src ){
$parts = explode( ‘?ver’, $src );
return $parts[0];
}
add_filter( ‘script_loader_src’, ‘_remove_script_version’, 15, 1 );
add_filter( ‘style_loader_src’, ‘_remove_script_version’, 15, 1 );then the problem goes away,
However my pingdom score goes lower http://prntscr.com/e59mof
After I deactivated the function script, I installed a plugin called ‘Remove query strings from static resources’When I ran this plugin it reacted like before http://prntscr.com/e59mof & http://prntscr.com/e53kff
————–
So the question is did anything change in Enfold from V3.1.5 which allows using the function script to remove ?? static content
and Enfold V3.8.5.
————-thanks,
Ed
login in private content
okay, I will turn enfold 3.8.5 until 6:00 am eastern
thsnks
Hi Yigit,
I fall-back to the working version (3.1.5) of Enfold because the current version (3.8.5) breaks my site.
If I know when you can visit site, I can change theme to current version (3.8.5)
An example of the page link will be the same. Current I am using my older enfold (version 3.1.5)
http://fritzimages.com/blog/bird-photography-index/
thanks a lot !
Ed
Hi Yigit,
thanks for the code, I installed in it quick css but it did not have any impact. I cleared caches.
This is how the page breaks: http://prntscr.com/e53kff
My page code : http://prntscr.com/e53lo1
thanks,
Ed- This reply was modified 7 years, 9 months ago by EdFritz.
I sent screen shot — Can you see it ?
- This reply was modified 7 years, 9 months ago by EdFritz.
Hello,
I provided my url I thought you might take a look using the link.
No problems here is pic of problem
- This reply was modified 7 years, 9 months ago by EdFritz.
July 26, 2015 at 12:23 pm in reply to: WordPress 4.2.3 Breaks Thousands of Websites | Breaks Enfold w/twentytwenty plug #478724Hello Strenghtcoaching,
I was not aware of those WP issues, a lot of folks upset with WP because of the fact that they pushed this release on everyone including developers and hundreds of thousands of WP sites broken worldwide. A hugh PR nightmare for the WP committee. I posted the article on another thread.
The only workaround is falling back to 4.2.2, If you have access to your WP folder via FTP, there is a very good you tube video that goes through how to do this. It seems more difficult than it really is but this is the second time I have had to fallback to a prior WP release and the video instructions are spot on. https://www.youtube.com/watch?v=_lX3E-qIpJM Thank goodness you can do that. I would also recommend turning off the auto word press installer. There are posts on the support page that tell you how to do this…..
-
AuthorPosts