Martin Robbins
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: won't add new postCould my problem be related to having so many comments pending (89,000).
I suspect not, I have sites with 250,000 spam comments
I get so much spam I couldn’t keep up with deleting them. The blog only allows 100 deletions at a time. Is there a way to delete comments all at once?
Personally I have done with SQL via phpmyadmin. You could try this plugin: https://wordpress.org/plugins/delete-all-comments/
Forum: Fixing WordPress
In reply to: Changing directory now cannot get into adminJackie, Thanks for the summary, at least for the benefit of others. I personally have followed the entire thread in detail. And I apologize for what might be considered my premature suggestions to edit anything.
1) Have Diane describe, as best she can, the folder structure of her server. Also make sure there are no files such as index.htm?, home.htm?, etc.
I think Diane has done enough to describe the subdomain and folder structure of her server. All sites except the im subdomain are OK. So we only need to concern ourselves with the folders and files within that subdomain. Which is exactly my last previous request.
next I’ll need to know what all files and folders are present within the root folder of im.mikediane.com ?
Regarding your items 2-5, these all constitute modifications to the site. And it is my opinion any and all mods to the site at this time are moot, and would serve only further to confound. There is no site, it is dead so to speak, as evidenced by the blank white screen at http://im.mikediane.com/ …
In other words both you and Diane might easily understand: Before we attempt modify a site not “alive”, shouldn’t we attempt first to “resurrect”?
Here’s the list of available action hooks:
http://codex.wordpress.org/Plugin_API/Action_ReferenceI think you could use:
add_action('publish_post', 'my_function');Forum: Themes and Templates
In reply to: change hover color in widget fbiz themeYou could try this custom CSS with your own color choice, of course:
#home-cols a:hover {color: #008800;}Forum: Themes and Templates
In reply to: [Twenty Ten] Need help adding an image on the homepage.I see no search bar. If the issue is corrected, please mark the topic “resolved”.
Thanks
Good Question:
Yes, there are several methods, depending on your abilities to edit code, some would be preferred over others.
For a non-programmer, the easiest method would be install the jetpack plugin, activate its custom CSS feature, and insert the following code:
.site-info a {display:none;}Good Luck!
Good question
Typically you would register your function within your theme functions.php file OR via a WordPress plugin.
And to call it whenever the_content() is called, add it as an action.
Here’s a reference:
https://codex.wordpress.org/Function_Reference/add_actionHere’s a most simplistic example:
<?php function my_function( $args ) { whatever(); } add_action('the_content', 'my_function'); ?>Forum: Fixing WordPress
In reply to: won't add new postWarning: number_format() expects parameter 1 to be double, string given in /homepages/16/d461729379/htdocs/Papinade.com/wp-content/plugins/wordpress-seo/inc/class-wpseo-utils.php on line 602
Another party had the same error message. We finally resolved the situation when we discovered the Wassup plugin had completely filled its database table so much as to exceed the host storage capacity.
Reference:
https://wordpress.org/support/topic/problem-with-data-base-1?replies=13Forum: Fixing WordPress
In reply to: Problem with data base ?You are welcome. Mark the topic resolved?
Forum: Fixing WordPress
In reply to: Changing directory now cannot get into adminThe /wp-login.php aka /wp-admin (dashboard) is a much more complex url than the / (public facing website).
In other words, when logging in to dashboard there are authentication methods and sometimes various internal core redirects in place, which are not present when simply viewing the site.
For these reasons I believe it is easier if not also important first to troubleshoot and repair the / url public facing site. Further, I expect when the public facing site is repaired, the dashboard login also will have become repaired with no additional effort. Does this make sense?
Thus, my request to learn first and foremost what are the file and folder contents of the site root folder:
next I’ll need to know what all files and folders are present within the root folder of im.mikediane.com ?
Forum: Themes and Templates
In reply to: [Twenty Thirteen] Moving second sidebar to the leftYou are welcome, mark this topic resolved?
Forum: Themes and Templates
In reply to: [PixelHunter] Navigation Images Not ShowingGood job, even though it works around instead solve the issue.
To solve it outright with no apache mods, I should have thought earlier to try the following:
site_url: http://test.michaelpaulmeno.com
home: http://ec2-52-4-19-122.compute-1.amazonaws.com
Both must be and are FQDN ! … One is displayed, the other hidden…
Forum: Themes and Templates
In reply to: How can I change individual tab colorGood question,
It’s probably best not to edit files via the theme editor. Instead to edit, it’s better to add new code to override the existing code.
If your theme has a “custom CSS” feature add your code there. Whatever the new code which will override the code you see in developer tools.
Or you can use a plugin like jetpack to implement a custom css feature.
Or you can create a child theme and add your code to the style.css file.
Good Luck!
Forum: Installing WordPress
In reply to: Where to start?Yes, the preview system likely creates for you a temporary domain behind the scenes. Mark this topic resolved?
Here is the code you have in place that controls the white spaces which has 3 parts. Just reduce the number for any or all the parts. Be aware the effects may be different on pages other than your home page.
/* above the gray border */
.hentry { padding-bottom: 3.631em; }/* below the gray border, top part */
.site-main { margin-bottom: 2.618em; }/* below the gray border, bottom part */
.content-area { margin-bottom: 2.618em; }