I need to add a few custom fields to the events on my JomSocial site.
I can adjust the DB - this is no problem - but if anyone has any ideas on which files need to be adjusted to accommodate the extra entries I would be most grateful
Many thanks in advance
Related
I'm trying to create multiple checkout pages with different fields on them. I know it is possible to create multiple checkout pages.
And I want to have different checkout fields on them. This difference is based on a category or based on product IDs. I just tried and searched but couldn't get a worthwhile source.
Can anyone guide me on this? Even I don't know whether it is possible or not.
Thanks in advance
I'm quite new to Wordpress and currently working on a custom plugin.
I know how to create a new admin menu point via plugin, now I'm trying to figure out how to add a functionality, when entering the site the user shall be able to specify the number of shown posts via input field - the amount of posts shall be saved in a way that you receive a shortcode for the amount.
Hope that was clear. Thanks in advance!
I know there are a lot of Wordpress php codesnippets and shortcuts to use, but I'm uncertain which the ones are I need.
I have a WordPress website and as part of the news items, the editor can add either an:
internal link OR
external link OR
file
Currently I have this set up as a repeater field with maximum rows set to 1.
Is it possible if say one value has been entered, to prevent another of the values from being filled in.
E.g. I add an internal link and then try to add an external link. A message of some sort is then shown to me to say that only one value can be selected at a time.
I know I can add a description to the field with this information but I want to make it idiot proof so that the user can never add more than one value.
Thanks for your time and help in advance.
I can't write this in comments but celeriko right. Install types plugin there is ability of conditional logic. You can very easy implement of from backend.
Types: http://wp-types.com/
Reagrds
I want my users to be able to mark posts as favorite. I tried the wp-favorite-posts plugin, but it doesn't work. I mark posts as favorites and after refreshing the page it's all gone. Furthermore, if I put {{wp-favorite-posts}} to a page, it just shows the text.
So I want to create my own solution, but don't really know how. I have never edited the WP database, but I have plenty of PHP mySQL experience.
Can anyone please point me in the right direction ?
You can use post_meta. You can store the "favourite" aspect as a custom field attached to each post. You don't need to manually edit the database (i.e. via mySQL).
When you want to show the favourited posts, run a custom query that only shows posts with the specific custom field that you've specified.
I have created new fields for a CCK content type. They were showing up before just fine. Now nothing. The only thing I did differently was delete some fields before adding the new ones.
I can see the columns in the content type table. They are just not showing up in the Create Content form. Any help on this would be greatly appreciated.
I Solved it! Stinkin permissions got me again!
With drupal it is necessary to give permission for these fields to be seen by even someone with admin role. I made this adjustment at:
/admin/user/permissions
I hope i save someone some time with that. : )
You can disable the Content Permissions if you want. Even though it can be a pain, you will appreciate the granular permissions when you need it.