Bill Fitzgerald
Forum Replies Created
-
honestly, it kind of resolved itself. At the time there weren’t many pages so as a work around I added some css to correct the problem until I could find the solution but now it’s working.
I did clear the SiteGround and Cloudflare cache , but I don’t think that was it.
I hope you find the solution.Hello @jriangle
just to clarify, you are referring to WordPress Multisite, correct?Forum: Fixing WordPress
In reply to: User Switching not showing in user sectionOkay, first thing you’re going to want to do is check in your plugins to be sure the plugin hasn’t been uninstalled and check to be sure it’s activated.
Forum: Fixing WordPress
In reply to: User Switching not showing in user section@sillyninja,
No, that’s not a WordPress feature, it is possible that it’s a different plugin or maybe something custom perhaps. you may need to look at the list of plugins under the Plugins menu item to determine which.You said the feature was enabled, by that do you. mean it was working and now it isn’t?
Forum: Fixing WordPress
In reply to: WordPress admin bar querstion@goodlittleboat
This is definitely unusual, it appears that your site thinks you (and I for that matter) are the user Amy Naranjo and that we are currently logged into that WordPress site, this is definitely a security concern. to clarify you are saying that this user does not/should not exist on that site?- This reply was modified 3 years, 5 months ago by Bill Fitzgerald.
Forum: Fixing WordPress
In reply to: User Switching not showing in user sectionHello @sillyninja ,
Do you currently have the User Switching plugin installed and activated?
Forum: Networking WordPress
In reply to: Deactivate a network-wide-activated Plug-InHello @benjie93 ,
This snippet should do the trick, add this to your themes functions.php or a custom plugin, change 16 to the id of the site you need to target and change the cloudflare/cloudflare.php example to the proper plugin directory and file.
If you later remove this snippet from theme/custom plugin the plugin will return to it’s original network active status.As always test on your dev site first.
add_filter('site_option_active_sitewide_plugins', 'deactivate_sitewide_plugins_by_site_id'); function deactivate_sitewide_plugins_by_site_id($value) { global $current_blog; /*---Using site id 16 for example, change to meet your needs------*/ if ($current_blog->blog_id == 16) { /*----Remove cloudflare plugns= from the network active status------*/ unset($value['cloudflare/cloudflare.php']); } return $value; }
- This reply was modified 3 years, 5 months ago by Bill Fitzgerald.
Forum: Developing with WordPress
In reply to: scripts not working on 404.php@theobs
Is that by any chance a custom 4o4 template? If so make sure you have get_header(); and get_footer(); in their respective locations.Follow the instructions here to change the urls back to the original values so you can access your site.
Hope that helps
Forum: Fixing WordPress
In reply to: Backdated posts showing up as most recentHello @above-the-circle
It sounds like the blog is sorting post by recently modified instead of recently added, otherwise backdating should have worked. If you update an existing post does it go to the top as well?
Forum: Fixing WordPress
In reply to: Recovering old Blog pageHello @iedarla
Sorry you are having these issues. That appears to be a WordPress.com site rather than a self hosted instance (www.remarpro.com, where you are now). For your issue you will want to visit WordPress.com’s support.Hope that helps
Forum: Fixing WordPress
In reply to: php only works when i’m logged into wordpress.@davehb21l6
Glad you got it worked out! Everyone is new at some point. ??Forum: Fixing WordPress
In reply to: php only works when i’m logged into wordpress.@davehb21l6
Yes, the first would be empty because it has no way of determining the page id at that point, $id is just a placeholder in the example I gave you. $id would need to be changed to the actual page id on your thantkyou page, the instructions on how to find that are in my earlier post.If you just want to check if it is working your could add something like this:
`<?php
$id = get_the_ID();
var_dump($id);
?>`Honestly, I think at this point it may be better to remove your code and follow this article on how to do this using a plugin:
https://www.wpbeginner.com/wp-tutorials/how-to-easily-add-javascript-in-wordpress-pages-or-posts/- This reply was modified 5 years, 1 month ago by Bill Fitzgerald.
Forum: Fixing WordPress
In reply to: php only works when i’m logged into wordpress.@davehb21l6
Did you try the snippet I posted above? Where the results the same?@stug2013
O.K, if I am understanding correctly you added ‘just testing then will put proper content’ in the WordPress editor and everything above that is the hard coded content the developer added, you need to remove/edit the hard coded content, correct?Firs, try to determine it that is a specific page template or if it is the default. Look on the right side of the page edit screen for Template :, if it’s not there then it should be the default (usually page.php )
In the theme files find the template and you should see the hard coded content.