redone975
Forum Replies Created
-
Forum: Plugins
In reply to: [Brilliant Web-to-Lead for Salesforce] Simple CheckboxForum: Plugins
In reply to: [Brilliant Web-to-Lead for Salesforce] Simple CheckboxForum: Plugins
In reply to: [Brilliant Web-to-Lead for Salesforce] Github fork with some added featuresAdded the checkbox to line 446 and tested it out… It works!
Thank you for your help, I really appreciate it.
Forum: Plugins
In reply to: [Brilliant Web-to-Lead for Salesforce] Github fork with some added featuresDo you just need to add it to line 446?
row += ‘<td><select name=”add_inputs[‘+i+’][type]”><option>text</option><option>textarea</option><option>hidden</option><option>select</option><option>checkbox</option></select></td>’;
Forum: Plugins
In reply to: [Brilliant Web-to-Lead for Salesforce] Github fork with some added featuresWow, thanks for the quick fix…
However, the new “checkbox” option doesn’t appear under the “Add a field” Type… Only in the original 13 pre-defined fields (first_name, last_name, email, phone, etc).
Forum: Plugins
In reply to: [Brilliant Web-to-Lead for Salesforce] Github fork with some added featuresAny chance you can add a simple checkbox to this copy of the plugin?
There are a lot of instances where this would come in handy:
- Sign me up for newsletters
- Request a representative to contact me
- etc
Forum: Hacks
In reply to: Is it possible to create a page via functions.php?Ah, here’s the link to the pastebin:
https://pastebin.com/dkwu0m2ZThanks again.
Forum: Hacks
In reply to: Is it possible to create a page via functions.php?I implemented the static front page and it worked smoothly. Here’s the summary:
Goal
Implementing code within the functions.php file that woud:- dynamically create a page called “Home”
- dynamically set this new page as the static front page
Here’s the final code I used.
[Code moderated as per the Forum Rules. Please use the pastebin]
Forum: Hacks
In reply to: Is it possible to create a page via functions.php?Rev. Voodoo… Thank you so much! I just tried the link from your last post and that worked perfectly for creating a new page.
I’m going to now try to incorporate the static front page code.
BTW, I de-activated/re-activated the theme a couple of times to see if it would create multiple posts. It did not. Works great.
Forum: Hacks
In reply to: Is it possible to create a page via functions.php?Ran across a hook called after_setup_theme in this article. Maybe this is the way to go?
https://justintadlock.com/archives/2010/12/30/wordpress-theme-function-files
Forum: Hacks
In reply to: Is it possible to create a page via functions.php?Thanks for the links.
How do I use the wp_insert_post within the functions.php to fire once on the initial setup of the site? I placed it within the functions.php file to test it out creating a page called “homepage” and when I logged into the site, there were 6 “homepages” created by this inclusion.
Thanks again for the direction and any additional information you may be able to provide.
Forum: Fixing WordPress
In reply to: WordPress menu limit problem on Media Temple (GS)Before giving up and hard-coding, I decided to take one more look. While looking through a phpinfo() file, I noticed a couple of things in regards to suhosin on my account.
First, I’m using PHP Version 5.2.14.
There are only 11 mentions of “suhosin” within the printout (see below):
This server is protected with the Suhosin Patch 0.9.7 ... suhosin.log.phpscript 0 0 suhosin.log.phpscript.is_safe Off Off suhosin.log.phpscript.name no value no value suhosin.log.sapi no value no value suhosin.log.script no value no value suhosin.log.script.name no value no value suhosin.log.syslog no value no value suhosin.log.syslog.facility no value no value suhosin.log.syslog.priority no value no value suhosin.log.use-x-forwarded-for Off Off
Does this provide any additional insight into my issues?
Forum: Fixing WordPress
In reply to: WordPress menu limit problem on Media Temple (GS)So, no one’s run into this issue on Media Temple?
I guess I’ll have to hard-code the menu – I really wanted to give my client the access to alter/edit the main menu.
Forum: Fixing WordPress
In reply to: WordPress menu limit problem on Media Temple (GS)Has anyone experienced this issue on a Media Temple (gs) account?
Will give that a go. More of a designer than programmer, so might ask for more specifics, in terms of code.
One other feature that would be cool, is to place an icon in front of link according to the file extension. For example, place an Adobe Acrobat icon in front of a PDF document. This would be something you could have the option of turning on via the admin. Just a thought.
Thanks.