Martin Robbins
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: comments on posts on dashboardI think from the dashboard, creating comment is inherently a part of editing the post. You maybe could create a new custom capability and add it to their role. That would require php and would be really easy to screw up a lot of other stuff.
Here’s another idea: create a blog page to display all posts, publish no link to that page, password protect it, give the link and password only to your approved commentors, configure properly the settings>discussion, maybe they don’t even have to be logged in, and then they do commenting and discussion on the front end? Then maybe find the P2 functionality in a plugin to make it really slick…
Forum: Fixing WordPress
In reply to: comments on posts on dashboardHave you check the configuration under Dashboard > Settings > Discussion ?
What happens when a user attempts to view Dashboard > Comments ?
When a user attempts to edit a post, is there anything about comments down at the bottom ? Have they checked under screen options on that page to enable discussion and comments ?
P2 is a theme not a plugin.
Forum: Fixing WordPress
In reply to: How to center a galleryIt sort of is the definition of a gallery that the thumbnail links to the image itself or the image attachment.
Have you tried simply inserting a series of images and setting the links appropriately?
Forum: Hacks
In reply to: Post Count for Categories, however not to calculate a totalIf you do coding, you could modify the category widget not to include category children on the calculation.
If not, search for a more robust category widget plugin : https://wordpress.org/plugins/search.php?q=%22category+widget%22
Forum: Fixing WordPress
In reply to: Hook for user-edit.phpYou are welcome,
Not sure the exact one, here is a comprehensive list:
Forum: Fixing WordPress
In reply to: InstallantionYou site seems OK at http://bbandbsolicitors.com … right?
What url do you use for login? Have you tried this one? :
http://bbandbsolicitors.com/wp-admin/
Instead of show us, please tell us what happens when you enter name and password there?
Forum: Fixing WordPress
In reply to: Bulk remove styling from all previous post images?I think you can use the jetpack custom css, with some more specific selector to override, effectively strip and replace the existing styling.
Forum: Fixing WordPress
In reply to: Dynamically swap image on div mouseoverYour loop specifics don’t really matter. The concept you wrote in the topic title and first post are enough. Here’s the concept solution in general:
With PHP in the loop, per post, render both images, or just the first one if there’s only the one. And give them different classes.
With CSS, position the second one absolute covering the first one, and hide the second one.
With jQuery, while mouseover display the second image.
I think the jQuery has to be not in the loop, I usually put it in the footer or it could be right after the endwhile.
Forum: Installing WordPress
In reply to: 2 installations of wordpressAnd if you really can’t tolerate disruptions on your production server, you do it like this: http://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/
Forum: Fixing WordPress
In reply to: Dynamically swap image on div mouseoverI think the problem with sprites is you would have to create the sprite uniquely for every instance. Here the images already are created and their src rendered it appears by ACF. My vote still for jQuery!
Forum: Fixing WordPress
In reply to: Bulk remove styling from all previous post images?You could try any custom css plugin, like the one in jetpack for example. If your theme already a custom css feature, try using it.
Forum: Fixing WordPress
In reply to: Dynamically swap image on div mouseoverI think you would have to use jQuery or some js. Isn’t the php already done parsed and rendered by the time the user can mouseover?
Another possibility I think is somehow use CSS background images and switch on :hover
Forum: Fixing WordPress
In reply to: htaccess redirect with multisite” No, don’t tinker with index.php if using WP and multi-site.
Probably best not to tinker with the .htaccess files either.I would say the same advice.
It may be that the /es/ folder is a figment of WP multi-side installation. It likely does not actually exist in the physical structure of the hosting account.”
Yes that is exactly the case! It is handled by the .htaccess and that’s why you shouldn’t tinker there
But couldn’t loos traffic with a ” NOT SEARCH ENGINE FRIENDLY ” solution. Is any body there that capable to help?
Isn’t the not search engine friendly problem only a result of your tinkering in .htaccess?
Have you tried reverting to the original unmodified .htaccess ? and doing the first part redirect as I suggested in DNS ? and then try to figure out if and how to do the second part ?
Forum: Fixing WordPress
In reply to: Broken, partial installation, 404@macmanx This my second post to topic. Wondering something strange is happening? My profile shows I posted here last (#3 it would have been), before I saw your post, but my other post does not appear?
EDIT: It was after yours, but before I read yours. All OK now mine finally showed up.
Forum: Fixing WordPress
In reply to: WP development locally – Error establishing a database connectionFor what it is worth, other thing I noticed, you dumped –all-databases … then imported and installed same. I probably would have dumped only prod_db and continued same from there.
I’m probably not so sophisticated as you with SQL, it seems to me you only need to work with the one database as opposed to the “whole environment”.
Also I never use root in wp-config.php, I create another user and grant all … then later if I want I can create a totally separate second wordpress and use a separate third user.
First, I cloned WP project from its bitbucket repository.
Perhaps this part complicates the scenario beyond my understanding. anyway I found this: http://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/
Good Luck