astpaul
Forum Replies Created
-
Solve it with
.the_champ_sharing_ul {left: 0 !important;}
Forum: Plugins
In reply to: [YouTube WordPress Plugin by Embed Plus] Override Defaults not workingI found why. I was using https:// !
You should specify somewhere that to override one needs to use https:// ??
Forum: Plugins
In reply to: [YouTube WordPress Plugin by Embed Plus] Override Defaults not workingMy website is https://healthruwords.com if that is of any help ??
Forum: Plugins
In reply to: [YouTube WordPress Plugin by Embed Plus] Override Defaults not workingHi,
I am sorry, I never received the email from wordpress ??
I tried this for instance: [embedyt]https://www.youtube.com/watch?v=1hzPNRrHDzs&autoplay=1&cc_load_policy=0&iv_load_policy=3&modestbranding=1&rel=0&showinfo=0&controls=0[/embedyt]
to no avail.
Currently default is with autoplay=0
Forum: Fixing WordPress
In reply to: Nginx 502 Bad Gateway only when wordpress is requestedProject cancelled
Forum: Fixing WordPress
In reply to: Nginx 502 Bad Gateway only when wordpress is requestedUpdate:
I changed and simplified default.conf
Now /wp-admin pages are served by the server, as well as some inner pages like https://wordpress3-635639788058487716.cloudapp.net/inspirational-pictures/ but not the index page!!!
Any help please?
server { listen 80 default; listen [::]:80 default ipv6only=on; server_name _; root /var/www/vhosts/default; index index.html index.htm; charset utf-8; access_log /var/log/nginx/default.access.log main; error_log /var/log/nginx/default.error.log; include /etc/nginx/drop; #rewrite /wp-admin$ $scheme://$host$uri/ permanent; #rewrite ^(.*)(index|home|default)\.html? $1 permanent; set $mobile ''; #include /etc/nginx/mobile-detect; location / { root /var/www/vhosts/default; index index.php index.html index.htm; if (-f $request_filename) { expires 30d; break; } if (!-e $request_filename) { rewrite ^(.+)$ /index.php?q=$1 last; } set $do_not_cache 0; if ($http_cookie ~* "comment_author_|wordpress_(?!test_cookie)|wp-postpass_" ) { set $do_not_cache 1; } if ($request_method = POST) { set $do_not_cache 1; } proxy_no_cache $do_not_cache; proxy_cache_bypass $do_not_cache; proxy_redirect off; proxy_cache czone; proxy_cache_key "$scheme://$host$request_uri$mobile"; proxy_cache_valid 200 0m; proxy_pass https://backend; } location ~ .php$ { #fastcgi_pass localhost:9000; # port where FastCGI processes were spawned fastcgi_pass unix:/tmp/php5-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; # same path as above fastcgi_param PATH_INFO $fastcgi_script_name; include fastcgi_params; } #include /etc/nginx/phpmyadmin; location ~* /(phpmyadmin|myadmin|pma) { access_log off; log_not_found off; return 404; } # redirect server error pages to the static page /50x.html # error_page 500 502 503 504 /50x.html; location = /50x.html { root /usr/share/nginx/html; } }
Forum: Plugins
In reply to: [WP-PostRatings] Voting without previous resultHi Lester.
No problem at all.Just a thought, can I hire you to make the following changes in a branch?
– each site’s identified user that comes on a post where the shortcode [ratings] is set (unless they already voted) are offered to vote with a preset at 0
– once they have voted, they are shown their vote only for that postI thought that it would be far efficient and my best choice instead of hiring an external dev.
You can PM at arnaud [at] tapuat [dot] com
Forum: Plugins
In reply to: [Related Posts by Taxonomy] Excude categoryForgot to say thank you ??
Forum: Plugins
In reply to: [ShortCodes UI] Shortcode for Google AdsenseSolution (quite an obvious one) is to select “Advanced Shortcode”. Duh! :))
Forum: Plugins
In reply to: WordPress SEO by Yoast creating duplicate Open GraphHey
I have the same issue. Did you find the solution?
I believe this began when I activated Enable Advertiser Features from Google. Therefore there must be some conflict between your plugin and this functionality.
In Universal settings both are enabled
Forum: Plugins
In reply to: [Related Posts by Taxonomy] RSS not working when Plugin is activatedHey
May I suggest the following?
A new functionality could be for the plugin to have its own cache. The scenario would be as follows:
Admin would setup the duration of the cache 1 day, 1 week, etc
The plugin would then create the HTML version for each post it is embedded in IF it has not been already created. And it would serve it in priority.That should offer a LOT of gains!
Make sense?
I am ready to contribute to it.
Forum: Plugins
In reply to: [Related Posts by Taxonomy] RSS not working when Plugin is activatedCode for 3rd post:
add_filter( 'the_content', 'add_related_posts_after_post_content' ); function add_related_posts_after_post_content( $content ) { //check if it's a single post page. if ( is_single() ) { // check if we're inside the main loop if ( in_the_loop() && is_main_query() ) { // add your own attributes here (between the brackets [ ... ]) $shortcode = '[related_posts_by_tax posts_per_page="6" format="thumbnails" order="ASC" post_types="post,product" title="Related Quotes" before_title="<h3>" after_title="</h3>" limit_posts="100" exclude_terms="58" taxonomies="category,post_tag"]'; // add the shortcode after the content $content = $content . $shortcode; } } return $content; }
542 posts in the staging server + 1 product
550 posts on the prod server + 12 products
and 10 pages on both.And yes all my tables are optimized in both cases.
Forum: Plugins
In reply to: [Related Posts by Taxonomy] RSS not working when Plugin is activatedThe quest continues ??
I tried to use a Cache (HyperCache) and was able to shave 1s out of 8s but that’s it.
However, the strangest thing is
I have a prod server on https://healthruwords.com
I have a staging server on https://2c5.3db.myftpupload.com/
Both are on the same machine.When I load the same post https://healthruwords.com/inspirational-pictures/wonderful-2015/ or https://2c5.3db.myftpupload.com/inspirational-pictures/wonderful-2015/ I get very different results (8s<>1.5s) with the same plugins on both install.
The only differences are:
– there are 3 RPs on the staging and 2 on prod !!!
– there are more products https://healthruwords.com/shop on prod (12 products instead of 1)
– there are a few more posts on prod (like 30 more)
– there is more traffic on the prod server (150 page views per day, nothing big).These differences do not explain the abysmal performance difference in favor of the staging server.
Any idea where I should look?Forum: Plugins
In reply to: [Related Posts by Taxonomy] RSS not working when Plugin is activatedYes, putting only the 2 short codes divides the load time by half (4s instead of 8s) but it is yet far from the <1s load time without the RP.
We are on GoDaddy and have to figure out if we can use a Cache on top of theirs.