Questions tagged as 'wordpress'

2
answers

Code to Take advantage of browser cache leaves the site out of the air

Well, I'm having a problem getting the blessed "Take browser cache" from PageSpeed Insights. The site I'm doing this is on Wordpress. The entire internet indicates the same code to be inserted into the .htaccess file, either in English or Portug...
asked by 06.05.2017 / 16:44
2
answers

How to make mega menu stylized in Wordpress?

I need to make a mega menu similar to the product menu of this site: link I use Wordpress on the site I'm working on right now, I do not know if there is a plugin for this, but what most disturbs me in the creation of this menu is becaus...
asked by 19.11.2015 / 18:41
1
answer

Wordpress with friendly URLs - Apache error - How to solve?

I'm having problems with Wordpress with friendly URLs. It simply does not work even using the .htaccess file suggested by the Wordpress support site. cat .htaccess # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase...
asked by 14.06.2014 / 19:03
2
answers

Remove filter only for pages

I needed to create a filter to print the name and email of users within the posts ( the_content ) they created. The problem is that it is showing in the posts and also in the pages, I wanted to show only in POSTS, I tried it and it did...
asked by 18.10.2014 / 17:56
2
answers

Insert string with strtoupper

Good morning! I am using a code in WP to display musical notes. It basically takes text from a shortcode "chord" and displays it in the line above. It also converts the b (lowercase) to ♭. Example: The problem is that it converts everyt...
asked by 18.09.2017 / 14:55
2
answers

How to save multi-valued metabox checkbox

I have a loop where it shows the taxonomies of the groups in checkbox format, but when saving, it only saves the last% Would you like to know how to save all checked fields? <?php function noticias_dados_meta_box($post){ $val...
asked by 24.02.2014 / 12:52
1
answer

Performance of file_get_contents ()

I'm getting the content of a RSS feed generated by Wordpress, and it has brought the information with a little delay (according to Google PageSpeed Insights, is having a delay of 1 to 2.5s). I wonder if this is due to my code snippet or the R...
asked by 10.02.2017 / 20:48
1
answer

Official bbPress Translation for your language

I did not find any official bbPress downloads for the Portuguese language. I found in Google all kind of suggestion but I believe it is for old versions of the bbPress plugin. I have already installed it and it is fully functional, but the .p...
asked by 14.06.2014 / 22:21
1
answer

How to calculate freight by ZIP in WooCommerce?

I would like to know if it is possible to have a freight amount for each zip code in Woocommerce or only a fixed price is possible.     
asked by 27.03.2014 / 18:47
1
answer

Prevent plugin update in Wordpress

Hello. I need to prevent updating of a plugin . I thought of simply cloning the plugin and changing the following information: /** * Plugin Name: AMP * Description: Add AMP support to your WordPress site. * Plugin URI: https...
asked by 22.09.2018 / 02:10