zelda013
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Theme : Pique] How to hide an element after clicking "more" ?resolved using css only :
div.pique-panel-content .envira-gallery-wrap:first-of-type { display: block; } .envira-gallery-wrap:first-of-type { display: none; }
Forum: Themes and Templates
In reply to: [Pique Theme] How to eliminate inline-style on static home ?For info, I’ve found what caused this : the margin is defined by a js file so it doesn’t get set until the js loads. I added this line to my css in my child theme :
#pique-hero .pique-panel-content {
padding-top : 200px !important ;
}the “important” overrides the js so there is not a delay between the page loading and the padding being applied during which the text is superposed on the header.
Forum: Themes and Templates
In reply to: [Theme : Pique] How to hide an element after clicking "more" ?to be more clear, here is the code of the pages in question :
[envira-gallery slug="preview1"] <!--more--> [envira-gallery id="full1"]
i would like to set the top gallery [envira-gallery slug=”preview1″] to “visibility : none” (or just remove it from the page) when the “more” link is clicked, so that the top line is not displayed twice :
(once more is clicked) :
[envira-gallery id="full1"]
i have more than one page like this so the code needs to include a regex to adapt the slug to the correct one (all the preview galleries include “preview” in the slug).
i found this php code which removes the “more” named anchors, maybe it can be adapted to this purpose ? but this code is for the url, and I need code for the page content.
//remove "more" named anchors, because they prevent the galleries from loading in the page view function remove_more_link_scroll( $link ) { $link = preg_replace( '|#more-[0-9]+|', '', $link ); return $link; } add_filter( 'the_content_more_link', 'remove_more_link_scroll' );
Forum: Fixing WordPress
In reply to: Parse error when trying to installThanks for all your help Tara. I did also try manually updating everything but the wp-config file, it didn’t help, but now i know why:
I contacted the support of my hosting company and discovered that although my console displayed “php 7” i was actually on a server using an old version of php which is not compatible with wordpress. They moved my site to a different server and everything works fine now.
Lesson learned: call the hosting company first.
Forum: Fixing WordPress
In reply to: Parse error when trying to installI have access to logs but there is no mention of errors in them. Below is the log for today.
The error I just got is not the basic 500 server error, the /wp-admin page sent me to this url :
https://lesbeauxebooks.com/wp-admin/upgrade.php?_wp_http_referer=%2Fwp-admin%2Fand i got this error :
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in entry.php on line 61
No login was displayed or any legitimate page content at all so far.
Log : access.log obtained via ftp
https://www.lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:00:08:21 +0100] “GET /wp/wp-admin/install.php HTTP/1.0” 200 440 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
https://www.lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:00:08:27 +0100] “GET /wp/wp-admin/install.php HTTP/1.0” 200 440 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
https://www.lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:01:02:01 +0100] “GET / HTTP/1.0” 200 723 “-” “Mozilla/5.0 (Linux; U; Android 4.1.2; fr-fr; GT-I9100 Build/JZO54K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30”
https://www.lesbeauxebooks.com:80 151.80.31.125 – – [11/Mar/2016:06:30:59 +0100] “GET /robots.txt HTTP/1.0” 404 474 “-” “Mozilla/5.0 (compatible; AhrefsBot/5.0; +https://ahrefs.com/robot/)”
lesbeauxebooks.com:80 45.79.89.188 – – [11/Mar/2016:09:21:41 +0100] “HEAD / HTTP/1.0” 200 299 “https://uptime.com/lesbeauxebooks.com” “Mozilla/5.0 (compatible; Uptimebot/1.0; +https://www.uptime.com/uptimebot)”
lesbeauxebooks.com:80 37.187.159.92 – – [11/Mar/2016:12:18:56 +0100] “GET /wp-login.php HTTP/1.0” 404 472 “-” “Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/23.0.1271.6 Safari/537.11”
lesbeauxebooks.com:80 37.187.159.92 – – [11/Mar/2016:12:18:56 +0100] “GET /administrator/ HTTP/1.0” 404 474 “-” “Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/23.0.1271.6 Safari/537.11”
lesbeauxebooks.com:80 37.187.159.92 – – [11/Mar/2016:12:18:56 +0100] “GET /admin.php HTTP/1.0” 404 469 “-” “Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/23.0.1271.6 Safari/537.11”
https://www.lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:14:52:29 +0100] “GET /wp/ HTTP/1.0” 302 356 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
https://www.lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:14:52:30 +0100] “GET /wp/wp-admin/install.php HTTP/1.0” 200 440 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
https://www.lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:14:52:30 +0100] “GET /favicon.ico HTTP/1.0” 404 475 “https://www.lesbeauxebooks.com/wp/wp-admin/install.php” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
https://www.lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:14:53:09 +0100] “GET /wp/wp-admin/install.php HTTP/1.0” 200 440 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
https://www.lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:14:53:09 +0100] “GET /favicon.ico HTTP/1.0” 404 475 “https://www.lesbeauxebooks.com/wp/wp-admin/install.php” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:15:35:50 +0100] “GET /wp-admin/ HTTP/1.0” 500 815 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:15:35:51 +0100] “GET /favicon.ico HTTP/1.0” 200 366 “https://lesbeauxebooks.com/wp-admin/” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
https://www.lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:15:37:24 +0100] “GET / HTTP/1.0” 200 723 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
https://www.lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:15:37:24 +0100] “GET /css/styles.css HTTP/1.0” 200 1125 “https://www.lesbeauxebooks.com/” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:15:37:31 +0100] “GET /favicon.ico HTTP/1.0” 500 815 “https://lesbeauxebooks.com/wp-admin/” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:15:37:34 +0100] “GET /wp-admin/ HTTP/1.0” 200 340 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:15:37:34 +0100] “GET /favicon.ico HTTP/1.0” 500 815 “https://lesbeauxebooks.com/wp-admin/” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:15:38:16 +0100] “GET /wp-admin/ HTTP/1.0” 500 815 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:15:38:17 +0100] “GET /favicon.ico HTTP/1.0” 500 815 “https://lesbeauxebooks.com/wp-admin/” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:15:38:18 +0100] “GET /wp-admin/ HTTP/1.0” 500 815 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:15:38:18 +0100] “GET /favicon.ico HTTP/1.0” 500 815 “https://lesbeauxebooks.com/wp-admin/” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:15:38:20 +0100] “GET /wp-admin/ HTTP/1.0” 200 340 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:15:38:20 +0100] “GET /favicon.ico HTTP/1.0” 500 815 “https://lesbeauxebooks.com/wp-admin/” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:15:38:29 +0100] “GET /wp-admin/ HTTP/1.0” 500 815 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:15:38:29 +0100] “GET /favicon.ico HTTP/1.0” 500 815 “https://lesbeauxebooks.com/wp-admin/” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:15:45:30 +0100] “GET /wp-admin/ HTTP/1.0” 200 340 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:15:45:30 +0100] “GET /favicon.ico HTTP/1.0” 500 815 “https://lesbeauxebooks.com/wp-admin/” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:15:45:34 +0100] “GET /wp-admin/ HTTP/1.0” 500 815 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:15:45:34 +0100] “GET /favicon.ico HTTP/1.0” 500 815 “https://lesbeauxebooks.com/wp-admin/” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:16:00:03 +0100] “GET /wp-admin/ HTTP/1.0” 500 815 “-” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”
lesbeauxebooks.com:80 82.67.199.250 – – [11/Mar/2016:16:00:03 +0100] “GET /favicon.ico HTTP/1.0” 200 366 “https://lesbeauxebooks.com/wp-admin/” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36”