roxer82
Forum Replies Created
-
Ok, I’ll do that. Thanks.
Hi, sorry, I didn’t get the email telling me about the response.
If I have the plugin acive, when I’m in a post and I press the edit pencil (I’m logged in), it goes to the right url (same id), but it shows another post. And it’s not always the same post, is a different one every time I refresh the page.Forum: Plugins
In reply to: [W3 Total Cache] User agentsI think I didn’t explain it right (I’m not a good english speaker).
What I want is the list of user agents available (e.g.: alcatel, amoi, android, archos5, asus, au\-mic, audiovox, avantgo).
I know nowadays everybody uses android or iphone (what’s de user agent for iphone? iOS?) but since my w3 was installed many years ago, I would like to know the users agents available for w3 in 2019.Forum: Plugins
In reply to: [AMP] Replace contentOk. Thanks!
Forum: Plugins
In reply to: [AMP] Replace contentI tryed that in my child functions.php and in the wp-content/amp/includes/admin/functions.php and it didn’t work.
But I saw that in my child theme I had an “AMP” folder with footer.php and single.php.
In single.php I changed this:
<?php echo $this->get( 'post_amp_content' ); // amphtml content; no kses ?>
for this:
<?php echo str_Replace('<p>xADDx</p>', '', $this->get( 'post_amp_content' )); // amphtml content; no kses ?>
and now it doesn’t show xADDxForum: Plugins
In reply to: [AMP] Replace contentWhen I’m writing my entry in the wp editor, I just put xADDx in the middle of the content in the place I want the advertisement to be shown. That’s why I need to replace xADDx for nothing in AMP.
Forum: Plugins
In reply to: [AMP] AnalyticsI can’t add my Analytics’ code either. How can we do it?
Thanks in advenced!Forum: Fixing WordPress
In reply to: Hide posts with a specific TAG from resultsI replaced “if(have_posts())” for “if($query->have_posts())” but it didn’t work. Should I use “$query->” in the “while” too?
I have this:
<?if (have_posts()) : while (have_posts()) : the_post(); ?>
I can exclude categories just adding “global $query_string;…”<?global $query_string; query_posts($query_string.'&cat=-3,-5'); if (have_posts()) : while (have_posts()) : the_post(); ?>
So, how should my code be if I would like to exclude tags instead categories?
Tnaks.
Forum: Fixing WordPress
In reply to: Hide posts with a specific TAG from resultsmdshak, thanks for your answer.
Where should I use that code? Because I put it just before the “if(have_posts())…” in my index.php but it didn’t work.Forum: Fixing WordPress
In reply to: Google PageSpedd and Leverage Browser CachingMarkRH, thanks for your answer.
I tried your code, but nothing changed. Google SpeedPage still says there are images in my page that are not being cached:…ent/themes/leaf/images/EconoCabecera.jpg (4 horas)
…p-content/themes/leaf/images/body-BG.png (4 horas)
…ntent/themes/leaf/images/mobile-menu.png (4 horas)
…ent/themes/leaf/images/scroll-to-top.png (4 horas)
…tent/themes/leaf/images/transparente.gif (4 horas)
…des/js/wp-emoji-release.min.js?ver=4.7.3 (4 horas)Any idea?
Thanks.Forum: Fixing WordPress
In reply to: Google PageSpedd and Leverage Browser CachingMarkRH, we used 4 hours because that’s what Google sugested. I’ll try that. Thanks.
Forum: Fixing WordPress
In reply to: Google PageSpedd and Leverage Browser CachingSorry, I forgot.
My site es Econoblog.com.ar, but I’m not checking the index, I’m checking entries. e.g.: Talleres de ANSES sobre Retiro LaboralForum: Fixing WordPress
In reply to: Google PageSpedd and Leverage Browser CachingThanks for the answer. That’s what we have now, but some of our images are still as errors.
<IfModule mod_expires.c> ExpiresActive On ExpiresByType image/gif A14400 ExpiresByType image/png A14400 ExpiresByType image/jpg A14400 ExpiresByType image/x-icon A14400 ExpiresByType application/pdf A14400 ExpiresByType application/x-javascript A14400 ExpiresByType text/plain A14400 ExpiresByType text/css A14400 </IfModule>
- This reply was modified 7 years, 8 months ago by roxer82.
Forum: Fixing WordPress
In reply to: Pubmatic and PageSpeedThanks MarkRH,
I thought it could be a kind of virus.Forum: Themes and Templates
In reply to: [Leaf] Left-align mobile versionLook in your style.css for “@media only screen and (max-width” and change “center” for “left”:
I don’t know how it is in english, but in spanish you go to: Apariencia->Editor->style.css
Or via FTP: wp-content/themes/leaf/style.css- This reply was modified 7 years, 8 months ago by roxer82.