Hiroaki Miyashita
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Custom Field Template] Pretty GoodHi C0BALT,
I released the version 0.8. I added the blank option. If you setblank = true
attribute, the value will be saved if it is blank.
Please try it out. Thanks.Forum: Fixing WordPress
In reply to: [Plugin: Custom Field Template] Line breaks in TinyMCEHi joesmalley,
I think I fixed this bug in the new release of 0.7.3. Please try it out.Forum: Plugins
In reply to: [Plugin: Custom Field Template] Pretty GoodGreat! Send me the file to
webmaster[at]wordpressgogo.com
. I will include it in the next release. If you have your site, I will link to it from the plugin page. So, let me know. Thank you!!Forum: Plugins
In reply to: [Plugin: Custom Field Template] Pretty GoodYes, that’s right. The dl tag has
cft
class. Add your own css in yourstyle.css
based on that class.Forum: Plugins
In reply to: [Plugin: Custom Field Template] Pretty GoodHi verowhite,
You mean the css of output page which is called by the[cft]
shortcode? CSS of the setting page of custom field template is for the edit post/page. It is not loaded on the output page. Well, I may add the css setting or file in the future, but currently please write down the css directly to style.css of your theme. I appreciate your support:) Thank you.Forum: Fixing WordPress
In reply to: [Plugin: Custom Field Template] Line breaks in TinyMCEHave you checked
Use wpautop function
in the setting page? It will automatically add p and br tags in your custom fields.I released the version 0.6.4. You can use PHP codes in order to set values of
radio
andselect
types. (I am sorry that you can not use php codes incheckbox
right now.) See the option page.This is an example to show a select list of post titles under a certain category.
—- Template
[posts]
type = select
code = 0
—-—- CODE# 0
$values = array();
$posts = get_posts(‘category=1’);
foreach($posts as $post) {
$values[] = $post->post_title;
}
—-Basically, you need to set $values as an array. you can also set $default also. Here is an easier example.
—-
$values = array(‘dog’, ‘cat’, ‘monkey’);
$default = ‘cat’;
—-You can set any values by using your own code. However, do not forget to do it at your own risk.
I hope this option will work properly for you.
Thanks.
Forum: Fixing WordPress
In reply to: [Plugin: Custom Field Template] Line breaks in TinyMCEI released the version 0.6 to fix the line break bug. I did not notice this bug until you told me. Thanks. I hope this will work properly.
Forum: Plugins
In reply to: [Plugin: Custom Field Template] Pretty GoodHi Dgold,
Thank you for your requests every time. I released the version 0.5.2. I added the label option in every field type, so you can use something likelabel = NOTE Map ABOVE is a hyperlink enclosed a href tags linking to Google Earth XML map
. The custom field template select box is displayed only if it has multiple templates. So if only one template is set, the drop-down box is not shown. I adopted the css design of custom field templates. You can set css in the setting page. The following is an example of which keys are above fields.#cft dl { clear:both; margin:0; padding:0; width:100%; } #cft dt { font-weight:bold; margin:0; text-align:left; } #cft dt .hideKey { display:none; } #cft dd { margin:0; text-align:left; } #cft dd p.label { font-weight:bold; margin:0; }
Yes, my site is https://wordpressgogo.com/ . I really appreciate your support donation. Thanks.
Forum: Plugins
In reply to: Plugin: Custom Field Template -WYSIWYGI added the code in order to keep the textarea height after saving posts. I am not sure whether this is what you expect or not, but anyway please try out the newest version of this plugin. Thanks.
Forum: Plugins
In reply to: [Plugin: Custom Field Template] Pretty GoodI added the option
clearButton = true
in radio buttons in the version 0.5.0. So you can create an empty radio button, even though the default is checked. I hope it will work well. Thanks.Forum: Plugins
In reply to: [Plugin: Custom Field Template] Fiile upload possibilityOnly in the textarea field, you can use media buttons. You can upload files through media buttons. Set
mediaButton = true
. The code is something like this.[Hidden Thought]
type = textarea
rows = 4
cols = 40
tinyMCE = true
mediaButton = trueForum: Plugins
In reply to: [Plugin: Custom Field Template] Wonderrrrrfulllll!I added the way what Dgold said before in the latest release.
Also see this:
https://www.ads-software.com/support/topic/209240I will consider adding more documention.
Forum: Plugins
In reply to: [Plugin: Custom Field Template] Pretty GoodI added the way you mentioned in the version 0.4.4.
You can set like this.[Favorite Fruits]
type = checkbox
value = apple # orange # banana # grape
default = orange # grapeI hope this will work well in your situation.
Forum: Fixing WordPress
In reply to: [Plugin: Custom Field Template] Usage?I know the way which you are talking is better than the current way. I thought the code may be a little bit complicated, so I quit it at this point. I am sorry for my laziness. I will consider adding the easier way for checkboxes in the future release. Thanks.