Gary Darling
Forum Replies Created
-
Yes, it is checked. All the SSL options below it are unchecked.
Forum: Plugins
In reply to: [White Label CMS] Conflict with wpMandrill pluginI did some testing and found the culprit – edit out this line of code in White Label CMS (line 26 in wlmcs-plugin.php) and now the two plugins happily co-exist (at least on my localhost they do):
if(!function_exists('wp_get_current_user')) { include(ABSPATH . "wp-includes/pluggable.php"); }One of the commenters on the wpMandrill support page posted the fix.
This line of code appears to be checking the existence of a native WP function,
wp_get_current_user(), and if it doesn’t exist it includes the file that function is defined in.From what I can see, wp-includes/pluggable.php is a core file, and should get loaded by wordpress itself, so I’m not sure why WLMCS needs to check for it. It might be better to use an action hook like ‘plugins_loaded’ to accomplish whatever goal is desired.
I tried this on the original, published website where I first encountered the problem. I uploaded a new image, clicked Smush it now, and here is what I get back:
Could not find /home/content/44/9381844/html/wp-content/uploads/
Here are the active plugins ( I deactivated many others to simplify things):
- Bulletproof Security
- Shortcodes Ultimate
I would gladly deactivate them all, but they are needed at the moment.
The site is hosted at GoDaddy, all versions are the latest.
I have many plugins installed, but I disabled them all except for Simple Image Sizes, which has the Regenerate Thumbnails feature.
The height declaration of the span element conflicts with the padding top and bottom. Remove the height and it looks fine. Use Google Chrome or Firefox with Developer Tools turned on to play with css to achieve your desired results.
Forum: Fixing WordPress
In reply to: spam on pictures?There is at least one plugin that will fix this problem, Comment Control.
Alternatively, you can just insert some code in your functions.php file:
add_filter( 'comments_open', 'no_media_comments', 10, 2 ); function no_media_comments( $open, $post_id ) { $post = get_post( $post_id ); // wordpress refers to images as attachments if ( 'attachment' == $post->post_type ) $open = false; return $open; }Test before and after: Go to Media > Library, find an image that has a dark comment bubble, click View and see if there is a comment box.
Forum: Themes and Templates
In reply to: changing font size of all post titlesNo, you are not. Validation is an automated service that looks for errors and gives you advice on how to find and correct them. Google css validation.
Take a look at line 36 of your child theme css and see if you don’t find something missing. Fix that and the rest of your style sheet will load, which, absent any more errors, will fix your font.
Hint: it looks like a semicolon.
Forum: Fixing WordPress
In reply to: Homepage 404 after changing siteurlIs your WordPress Address in agreement with its new location in Settings > General?
Forum: Themes and Templates
In reply to: changing font size of all post titlesDid you refresh your browser to empty the cache? If that doesn’t fix it can you post a link to your site?
Forum: Fixing WordPress
In reply to: Custom WordPress SiteIf you want only the one page to have a custom width you can either isolate it with css using the body_class() output:
.page-id-(your page id) {width:1000px;}or you could create a custom template that you choose when you create the page. See:
http://codex.ww.wp.xz.cn/Template_Hierarchy#The_Template_Hierarchy_In_DetailForum: Fixing WordPress
In reply to: Looking for new theme and or pluginsIn addition to the many free themes in the WordPress repository, you might take a look at some commercial themes – http://www.themeforest.com has many wordpress photography themes that are quite inexpensive. Try to avoid free themes that do NOT come from the WordPress repository, It’s been revealed that many have nasty code buried in them that populates your site with hidden links and referrals.
Graphpaperpress.com is another source for quality themes for photographers.
Forum: Themes and Templates
In reply to: how to align make center in wordpress main page themesThis can likely be accomplished with a little css modifications; try using Developer Tools in your favorite browser to isolate the section you want centered, then apply the required css in the editor. Once you get it centered, copy the modifications to your style.css file.
https://developers.google.com/chrome-developer-tools/docs/elementsForum: Themes and Templates
In reply to: where to find body_class functionIt sounds to me like you are trying to style the body element with multiple background colors, which is not possible. Inside the style sheet, the last declared value (of highest precedence) will always prevail on an element, regardless of the order you list them in the html markup. So putting subpage before page or page-template in the html does not matter to the style sheet, but putting subpage before page in the stylesheet does matter.
What is possible is to have two elements that overlap with different background colors, like so:
<body class="foo"> <div id="bar"> some content </div> </body>Now .foo and #bar can both take up 100% of the window, so bar sort of sits on top of foo. You can give foo a gray background and bar a purple background with your desired opacity, and foo will be visible thru bar because of the opacity. And you can nest any number of elements inside bar to get the effect you want.
Try using Developer Tools for Safari / Firefox / Chrome so you can turn on / off / change the css locally and see the immediate difference. And are you refreshing your browser to clear the cache after you make edits to your css file? Because that padding is your problem. Period.
It appears you added the css I showed you above in your child theme, but you didn’t change the padding value to 0, you left it at .5em. Make it 0, that will fix your arrow problem in all browsers..