myjosephines
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress Nginx configThank you so much for your reply and the links ??
Forum: Plugins
In reply to: [WooCommerce] Use extra postcode input at checkoutNevermind, I was just tired today. Of course I can just do this with jquery
- This reply was modified 4 years, 7 months ago by myjosephines.
Forum: Plugins
In reply to: [Pixel Caffeine] Error with Woocommerce SubscriptionsMe 2, I will just deactivate this plugin for now
Forum: Fixing WordPress
In reply to: Blank page (only works if I disable gutenberg)Anyone who knows? ??
Forum: Fixing WordPress
In reply to: Blank page (only works if I disable gutenberg)I just found the reason, I had php 7.2 on my server. When upgrading it to 7.3 it now works on the other site, The first site however still is blank on edit pages.
Forum: Fixing WordPress
In reply to: Blank page (only works if I disable gutenberg)Still doesnt’ work ??
I also updated wordpress on my other website today and now it happens there too ??
Forum: Fixing WordPress
In reply to: Cannot edit pages after update to 5.3Me too, is there any solution to this? Ive tried disabling everything
Forum: Hacks
In reply to: Remove /wp-content/themes/ for url?Nevermind, I just did it like so in htaccess:
Redirect 301 /out/ https://domain.com/wp-content/themes/meow/out/
Forum: Fixing WordPress
In reply to: Redirect and fetch member id?Got it to work. I had to call wordpress functions in the beginning – like this:
<?php if ( !defined('__DIR__') ) define('__DIR__', dirname(__FILE__)); //getting current directory using magic constants __DIR__ is deprecated in php 5.3.+ $path = explode('wp-content',__DIR__); //getting main web root path for including further files. include_once($path[0].'wp-load.php'); //for getting global variables like wpdb global $current_user; $loc = 'https://domain.com/?epi=' . $user_ID = get_current_user_id(); header("Location: $loc"); die(0); ?>
Forum: Fixing WordPress
In reply to: Redirect and fetch member id?I got it to work (almost) and want to use this:
<?php $loc = 'https://domain.com/?epi=' . $user_ID = get_current_user_id(); header("Location: $loc"); die(0); ?>
However, it only works when used in index.php in the theme-folder, and not in a clean php-file. Because then it says: “Fatal error: Call to undefined function get_current_user_id() in C:\xampp\htdocs\domain\link\index.php on line 2”
Forum: Plugins
In reply to: [Advanced Custom Fields: Image Crop Add-on] The crop doesnt work :(Update: It works for most posts, just some posts where it looks weird like that.
Forum: Plugins
In reply to: [Advanced Custom Fields: Image Crop Add-on] The crop doesnt work :(It works on my local installation, but not on the server. :S