virtous
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress core update, can't locate root directoryI finally managed to fix this by temporarily changing the owner of all files within /var/www/html.
I normally set the FTP user as the owner and www-data as the owning group.
1) Change file owner
sudo chown www-data: -R /var/www/html
2) Update wordpress
3) Change back ownership
sudo chown myftpaccount: -R /var/www/html
Forum: Fixing WordPress
In reply to: WordPress core update, can't locate root directoryHey thanks for your reply. I still haven’t managed to solve this issue despite reading through the article you linked.
I’m controlling permissions via terminal. If I knew which files/folders are handled during WordPress core upgrades I could see if those files/folders have the correct permissions set. Do you by any chance know which files/folders are relevant?
Thanks
Forum: Plugins
In reply to: [WooCommerce] Test shop as a user from a different country.Hi,
Yes, I managed to solve it by updating all WooCommerce extension plugins. For me it was the following:
WooCommerce DIBS FlexWin Gateway
WooCommerce Klarna Gateway
WooCommerce PDF Invoices & Packing Slips
Flat Rate per State/Country/Region for WooCommerceHope this helps! If you find the root of the issue feel free to share.
Forum: Fixing WordPress
In reply to: Custom attributes to the menu container with wp_nav_menuFixed!
Turned out to be very simple…
wp_nav_menu('items_wrap' => '<ul id="%1$s" class="menu" foo="bar">%3$s</ul>' );
Forum: Plugins
In reply to: [Constant Contact for WordPress] Event registration from my siteI went to the Constant Contact Developer Forums and found out that the CC API doesn’t support event registration. This feature might be implemented in the future though.
Hope this information is helpful to anyone.
I found a solution for the problem in this post
https://stackoverflow.com/questions/7975093/typeerror-undefined-is-not-a-function-evaluating-documentForum: Fixing WordPress
In reply to: Redirect as soon as possible on client device detection.Hello, thank you for your quick reply.
I’m writing my own theme so using another one is not going to be an option for me.
The theme I’ve written is fully responsive, the problem lies with all files that are loaded and slows down the page. It isn’t optimal for mobile users with limited bandwidth.
Forum: Fixing WordPress
In reply to: query fails, returns 0.@vtxyzzy, yes you are correct. I actually changed it %%% %% like below, and it works.
$where .= " post_title LIKE '%%%" . $keyword . "%%' OR post_content LIKE '%%%" . $keyword . "%%' OR";
@keesiemeijer, so since I’m running 3.9.2 I should use the like_escape() function for the LIKE statement? Doesnt it get properly sanitized within the prepare() function?
Ahh there we go, added wp_head() in my file before closing </head>. Now it works! ??
Question though, is it possible to remove the “more sharing service” (orange icon)? Looks like it was added by default.
Also, the title text doesn’t seem to show up?
Thanks for the help
I’m not using get_header() in my theme, will this cause wp_head() hook to fail? I updated the file without success.
Ok thanks.
Edit:
Will have a look when I get home in a few hours. Thanks for the quick support!Check my latest update in my previous comment above^
Nothing happens when I click on the icons, and the title text that I chose in the admin section doesn’t show up either.
When I click the icons it says in console that theChampPopup is not defined.
Any ideas?
I might be able to do that later tomorrow evening, as for now I did some more research. I can’t see where front.css is included to the page, where does this happen?
Edit:
adding this line in the <head> of the document made all the icons visible, but I nothing happens when I click on them.
<link rel="stylesheet" type="text/css" href="<?php echo get_site_url();?>/wp-content/plugins/super-socializer/css/front.css">