wjm
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Hybrid Template: Trying to Customize Headerprobably a bit too late, but i′m answering it for posterity.
copy themes/hybrid/header.php
to your child theme dir.
and edit as neededForum: Alpha/Beta/RC
In reply to: Unwanted behaviour in widget areas when switching themessorry if i didn′t express clear enough:
every single widget area configuration that was not registered in the second theme was lost when i switched back to the first one
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Break on errormy solution only fixes the javascript error message, but despite this error message it will send the message successfully. so those line wont solve your issue
Forum: Fixing WordPress
In reply to: turn off comments on pages by defaulti dont have the time right now.. but what could be done is
1. a quick and dirty script
when creating a page in the admin section, replace on the fly these wp_options: default_ping_status and default_comment_status to FALSE2. the configurable version
add to /wp-admin/options-discussion.php the options, (under the default settings)
* Allow trackbacks for pages
* Allow comments for pages
and when creating a page.. reading this values, and updating the chekboxes for alowing trackbacks and comments.Forum: Fixing WordPress
In reply to: turn off comments on pages by defaultthis is a missing feature in wordpress.
i think under GENERAL SETTINGS >> COMMENTS
there should be a default configuration option for pages only, not for pages and posts altogether.i am pretty sure withe a few line plugin, you will be able to change this.
Forum: Plugins
In reply to: [Plugin: Shadowbox JS] Little Problem working with Lightbox Plusand to avoid loading unnecessary files, make the following changes in inc/frontend.php
//$box_rel_pattern = '/\ rel=(\'|")(.*?)(shadow|light|no)box(.*?)(\'|")/i'; $box_rel_pattern = '/\ rel=(\'|")(.*?)(shadow|no)box(.*?)(\'|")/i'; //$slbox_rel_pattern = '/\ rel=(\'|")(.*?)(shadow|light)box(.*?)(\'|")/i'; $slbox_rel_pattern = '/\ rel=(\'|")(.*?)(shadow)box(.*?)(\'|")/i';
still the css files are loaded when not needed.
Forum: Plugins
In reply to: [Plugin: Shadowbox JS] Little Problem working with Lightbox Plushi sivel.
i have modifiedcache.js
changed
var relAttr=/^(light|shadow)box/i
for
var relAttr=/^(shadow)box/i
and in core.js
changed
galleryName=/^(light|shadow)box\[(.*?)\]/i,
for
galleryName=/^(shadow)box\[(.*?)\]/i,
clicked “update” in the settings page, and it worked!
i think this could be added as an option in the settings page.
something like.
* Make Shadowbox-js a drop in replacement for lightbox? [checkbox}thanks sivel for mentioning that, great plugin as well as lightbox-plus.
Forum: Plugins
In reply to: [Plugin: Shadowbox JS] Little Problem working with Lightbox Plusupdate: the problem occurs even if you are not using shadowbox in that page, as the shadowbox files are loaded in every page.
Forum: Plugins
In reply to: [Plugin: Shadowbox JS] Little Problem working with Lightbox Plusdo you have an email address so i can email you the files?
the site is not live yet.Shadowbox is displaying the
#sb-overlay
div,Forum: Plugins
In reply to: Contact Form 7 – _wpcf7.cache is not definedpossible solution: https://www.ads-software.com/support/topic/385850?replies=9#post-1492553
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Break on errorI found a solution to this.
it should work.//if (_wpcf7.cached) {
if ( typeof(_wpcf7) != “undefined” && typeof(_wpcf7.cached) != “undefined”) {Forum: Plugins
In reply to: [Plugin: Contact Form 7] From Emailhi,
I′m seeing its happening the same to me.
Are you using the native method (sendmail) or using smtp through this?
https://www.ads-software.com/extend/plugins/wp-mail-smtp/either way, it could be that wordpress is changing the headers, not this plugin, as i have read the code for an hour or more trying to track down the problem and untill it calls wp_mail() everything is correct. from the the one you set the in configuration panel.
i will keep let you know if i find something else.