domokun
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF?)] Mistake in my nested repeater?Two things.
$show = the_sub_field('officetype');
Should be:
$show = get_sub_field('officetype');
Secondly, is officetype an array?
What does
print_r($show);
give you?Forum: Plugins
In reply to: [Advanced Custom Fields (ACF?)] Inherit custom fieldsI think Im right in saying that the Fields are added to a certain Post Type.
As Page and your Custom Post Type are two different Post Types, your field will only show on Page.
Edit the Field and look for the Location box. Add your second Post Type and it should start to show.
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF?)] display values in select box from databaseI don’t believe you can do that.
You may want to build your own custom Meta Box
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF?)] ACF only works on my local dev environment?How did you move the database content?
You amy want to consider using something like Search and Replace to ensure that there are no references to your dev site within your live DB.
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF?)] Identical headerPerhaps change the Location to use a PostType and have this set as Pages ?
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF?)] ACF in Permalink and/orRE: Permalink, I don’t think this is possible
RE: <title> tag, I think you amy have to open your loop earlier to achieve this, then rewind_posts for your main loop.
You may have to use JQuery instead of PHP to achieve this.
You can write the_field the screen as part of your JQuery
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF?)] SEO whit ACFWhen creating the custom field, if you assign it to show on Post Type of page/post then it’ll show on all pages.
If you don’t see the field on the Page editor screen (for example) check the Screen Option link in the top right of the screen – the field may be hidden.
Then make sure that you are showing the_field() on your standard page.php or single.php
Your question makes sense, but I don’t believe thats possible.
I would suggest that you alter the wp_query on your homepage to only pull back a single, latest post.
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF?)] Frontend UsersYou can use it in the backend too!
You can assign fields to Taxonomies and other areas of the backend.
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF?)] "Menu" for a restaurantI would suggest creating some Custom Post Types for your food.
You could add some custom taxonomies for each Menu (Breakfast, Lunch Dinner etc.), thereby categorising food items to a given menu.
You could then use ACF to create Fields within each food Item (for price, calories, etc.)
Another option, would be to look at HappyTables
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF?)] Custom post Meta Date FormatI don’t think you need the strtotime as the date is already in standard date format YYYMMDD
Just try using
date( 'l, F jS, Y' , $event_date )
I don’t think this is possible.
You may want to consider adding the premium Options Page plugin add-on and using that.
Forum: Plugins
In reply to: [Contact Form 7] Email check before submissionHi Fabrizio,
I don’t think this is possible from with CF7.I think your best bet would be to install JQuery Validate and then add some script to ensure that the two fields match
$('#your-form-id').validate({ rules: { email: 'required', emailConfirm: { equalTo: '#email' } } });