chaos67731
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Link pages without showing links in main navigationWhen you are in the edit content section (post or page) there is a add link button in the editor , when you click that will will allow you to add a link to anything and will also let you pick from a list of pages on the site.
learn how to do that here
So from any page you can make a link to another page.OR
You are able to make a new custom menu and add that to the sidebar of your site with a widget.
I think that is what you are asking ?
Forum: Plugins
In reply to: [WPMenuMaker] wp menu makerI just installed it and it did not even get a demo! This should be removed from here as its worthless and dont not state that upfront.
Forum: Hacks
In reply to: Make multiple pages and set template/content on theme activation?I have got the code working now, here it is in case you or anyone else could use it. . . and feel free to see if there is anything I could do better on it.
if (isset($_GET['activated']) && is_admin()){ add_action('init', 'create_initial_pages'); } function create_initial_pages() { $pages = array( // Page Title and URL (a blank space will end up becomeing a dash "-") 'Services' => array( // Page Content // Template to use (if left blank the default template will be used) 'Services Content'=>'page-bottom-sidebar.php'), 'Prices' => array( 'Prices Content'=>'page-wide.php'), 'F A Q' => array( 'FAQ Content'=>' '), ); foreach($pages as $page_url_title => $page_meta) { $id = get_page_by_title($page_url_title); foreach ($page_meta as $page_content=>$page_template){ $page = array( 'post_type' => 'page', 'post_title' => $page_url_title, 'post_name' => $page_url_title, 'post_status' => 'publish', 'post_content' => $page_content, 'post_author' => 1, 'post_parent' => '' ); if(!isset($id->ID)){ $new_page_id = wp_insert_post($page); if(!empty($page_template)){ update_post_meta($new_page_id, '_wp_page_template', $page_template); } } } }; }
Forum: Hacks
In reply to: Make multiple pages and set template/content on theme activation?This is as far as I have got, it will make the pages but not set content or a page template per page.
if (isset($_GET['activated']) && is_admin()){ add_action('init', 'create_initial_pages'); } function create_initial_pages() { $pages = array( 'Services' => array( 'Services Content'=>'page-wide.php'), 'Prices' => array( 'Prices Content'=>'page-wide.php'), 'F A Q' => array( 'FAQ Content'=>'page-wide.php') ); foreach($pages as $page_url_title => $page_meta) { $id = get_page_by_title($page_url_title); $page = array( 'post_type' => 'page', 'post_title' => $page_url_title, 'post_name' => $page_url_title, 'post_status' => 'publish', 'post_author' => 1, 'post_parent' => '' ); if (!isset($id)) wp_insert_post($page); $page_check = get_page_by_title($page_url_title); foreach ($page_meta as $page_content => $page_template){ if(!isset($page_check->ID)){ $page_url_title = wp_insert_post($page); if(!empty($page_template)){ update_post_meta($page_url_title, '_wp_page_template', $page_template); }} /// End of Second foreach } // End of first foreach }; }
Forum: Hacks
In reply to: Make multiple pages and set template/content on theme activation?I keep looking at the code but I cant seem to make heads of what I should do
Forum: Hacks
In reply to: Make multiple pages and set template/content on theme activation?Anyone?
Forum: Hacks
In reply to: Make multiple pages and set template/content on theme activation?Anyone?
Forum: Plugins
In reply to: [Testimonial Basics] Sliding/Rotating TestimonialsI say do not add a auto rotating, but in both the widget and in the content I would say it would be nice to have a button/click to move to the next . . . .
Forum: Plugins
In reply to: [Contact Form 7 Modules] Using Hidden Fields with Dropdown Menu OptionWell I was looking for the same thing, and thought this might help other people out.
It may not be the most cleat of code but it works.
First I have a form with 5 things to pick from, when the first three are picked I want box 1 to show and when the last two are picked I want box two to show.
So I made two divs that are displayed none in the norm and added in the needed text boxes. ??
So now they are hidden
Then I added this code.
$(function() {
$.viewMap = {
‘Event Planners’ : $(‘#thirtyoff’), ‘Videographer’ : $(‘#thirtyoff’), ‘Photographer’ : $(‘#thirtyoff’),
‘Teachers’ : $(‘#tenoff’), ‘Union Workers’ : $(‘#tenoff’)
};
$(‘#AreYouA’).change(function() {
// hide all
$.each($.viewMap, function() { this.hide(); });
// show current
$.viewMap[$(this).val()].show();
});
});——–
Event Planners, Videographer,Photographer are the values for the first three “#thirtyoff” is the id for the box that is displayed none, that I want to show when one is pickedTeachers,Union Workers are the last two values in the drop down and “#tenoff” is the id of the box that is displayed none that I want to show when they are picked.
———
Well I hope this helps someone else, and I am with Nathan, I like supporting devs but $199 is a little hight of a price. And yes I know its not $199 for one site, but I pick a form and stick with it, so all the sites I build are the same and it makes support easy.
But if you ever make an addon that will make Contact Form 7 better and it cost, I will pick it up.
To me, its a matter of price and learning a all now contact form when 90% of the time this ones does a great job.
Forum: Plugins
In reply to: [VoucherPress] Font Color & download more than ones?Not a problem, lets say “Mike” with the email address of [email protected] signs up for a voucher but sometime down the road I want to allow him to get another one, how can I allow him to?
OR
In testing voucherPress I have used a few of my emails and would like to remove them from the list, so that when I use this for an email list I dont get the email as well.
Thanks
Forum: Plugins
In reply to: [VoucherPress] Getting people with the same number of voucherNot a problem, here is a link to the vouchers that have been given out.
https://docs.google.com/spreadsheet/ccc?key=0AgkrzpEKx_GFdHZDTDVsZmhtWEJleGxiWVJia25yZWc&usp=sharing
As you will see there are the same voucher codes given out. So far about 700 have been given out but when you look at the voucher code its only up to 400.
Hope this helps.
Forum: Plugins
In reply to: [NS Cloner - Site Copier] When cloning site, the upload images do not workI did not look, but after I cloned one site and then cloned a clone it worked just fine.
So I would say its working just fine?
Forum: Networking WordPress
In reply to: Cloning a multisite/new site to match a old oneWorked great!
Here is the only problem I have found.
Forum: Networking WordPress
In reply to: Cloning a multisite/new site to match a old oneThe only one I can think of off the top of my head is duplicator, but what you linked to looks great!
I will test that out latter today, thanks
Forum: Plugins
In reply to: [Slidorion] Is there a demo of this slider/accordion anywhere?I am working on this now, but here is a demo if you are still looking for one?
https://opticaleffectslv.net/about/
The only problem I found with it is that it wants to set at the top of the page, so it took some work to get around that.
Other than that, its works well, may it could use a little more control over the image with out having to edit the css.