jaredvd
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Custom post types hierarchy Child a different post type than ParentTo explain my thoughts on how to do this I could have custom post types:
Region, State, City, Street, and Marker and a table in the database:
ID: Rel_ID
Parent: Post ID
Child: Post IDWhen the user creates a Street, it will create a custom post: Street, and add the ID to the Child ID. It will also find the ID of the city they are in, and add that to the parent ID.
Otherwise I could create one massive Custom Post with the following values:
Region:
State:
City:
Street:
Marker:
whatever other content needed:For my regions, I would have to only populate the “Region” field. For States I could populate Region and State… or only have field for the user to enter the state… this is quite obviously not the way to do it… but would be faster to get running
Forum: Fixing WordPress
In reply to: Custom post types hierarchy Child a different post type than Parentthe basic structure of the data i would like to have is
region -> state -> city -> street -> address (marker)The website will be user driven.. Users will be allowed to create cities in states, streets in cities, and markers on streets.
This way users can go to Region 1 -> State 1 -> Add City
or Region 1 -> State 3 -> City 5 -> Add Street
When the user creates a Marker, they will always be coming from a street page, and the marker will always be a child of that street. Street will always be a child of the city, and up the list.
Hope this is clear enough
Forum: Fixing WordPress
In reply to: Custom post types hierarchy Child a different post type than ParentFrom some research it looks like this is not possible.
seems like my options are the following:
1.Custom table in the database which will add the relationships
2.Custom post type with all of the info needed. At the top end some fields will be left blank and not displayed.
If anyone has other ideas, or experience with this, let me know
Forum: Plugins
In reply to: [Wiki] [Plugin: Wiki lite] WordPress wiki plugini’m using the wiki lite plugin, and having some problems.
the first is the tabs.
When I click on the “Discussion” tab, I’m brought to a normal wordpress “Leave a Comment” page. The page is not opening within the wiki, the navigation tabs “Page, Discussion, History…” are gone, and you must use the back button to return to the wiki.
The second question I have is adding extra content to the page the wiki is displayed on. I’m attempting to add posts above the wiki, which are related to the wiki article. I’d like the posts to be displayed up top, and the wiki below it. I’m struggling to understand how the wiki is called to the page it is on, and if this is possible. Any help would be greatly appreciated.