विवरण
The plugin works similar as shortcodes with important differences:
- It looks for any tag in the post with the following format: {cf your_custom_field_name=your_custom_field_value}
- For any tag found, it create a custom field for that post.
- The tag is erased from the post.
How to use
Type in anywhere in a post:
{cf your_custom_field_name=your_custom_field_value}
Examples:
- {cf thumbnail=http://wordpressready.com/wp-content/uploads/oneringtorulethemall.jpg}
- {cf posticon=/wp-content/uploads/posticon.ico}
- {cf my_custom_color=#22fb30}
This three examples written inside the post will create three custom fields with respectives values
when you publish the post.
After publishing, the tag inside the post are deleted. No other information is erased.
Notes
- Because the way the plugin works, it will run fine with ANY desktop blogger(Windows Live Writer, Scribefire, Qumana, w.Bloggar, Zoundry
, Thingamablog, Blod Desk, Flock, Post2Blog, Bleezer, you name it) - The plugin can be used even inside the wordpress editor (though what would it be the point?)
- You can use any number of custom field for post.
- Reserved characters: ‘{cf’ and ‘}’,because it conflicts with the delimiters.
- After the post, the tags are automatically erased.
- If the custom field is already present, its value will be replaced.
स्क्रिनसटहरू
स्थापना
- Unzip the ZIP file and drop the folder straight into your
wp-content/plugins/
directory. - Activate the plugin ‘Text to Custom Field’ through the ‘Plugins’ menu in WordPress.
प्रश्नोत्तर
-
What if I use the tag twice? for example {cf my_custom_value=Anna} , {cf my_custom_value=Jessy} in the same post?
Answer: The plugin scans the post from top to bottom and update the custom fields in that order.
In the strange case you do that, the last tag will take precedence over the first one, where
the final value would be my_custom_value=Jessy -
Do I need to use quotes (‘) or double quotes (“) to assign values to the custom fields?
Answer: No quotes or double quotes are needed. But if you use it, they would be assigned to the custom field, so be careful! -
What if there is already a custom field with that name?
Answer: Any custom field with same name is updated -
What if I want to delete a custom field?
Answer: This version does not delete a custom field. The best it can do is assign an empty value to a custom field as {cf my_custom_field= } -
Any character or exception to consider?
the ‘}’ can’t be inside an evaluation. For example: {cf my_custom_field=hello {there} } won’t work as expected since the plugin can’t
decide what is the last character. The final evaluation would be my_custom_field=hello {there.
In the same fashion the character combination ‘{cf’ can’t be inside an assignation. -
What if I have another question related to this plugin?
Answer: Contact with admin@wordpressready.com for any questions.
समीक्षाहरू
यस प्लगिनको लागि कुनै समीक्षाहरू छैनन्।
योगदानकर्ता र डेभलपरहरू
“Text to Custom Field” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले यो प्लगिनमा योगदान गरेका छन्।
योगदानकर्ताहरू“Text to Custom Field” लाई आफ्नो भाषामा अनुवाद गर्नुहोस्
विकासमा रुचि छ?
आरएसएस द्वारा कोड ब्राउज गर्नुहोस्, एसभीएन रिपजिटरी हेर्नुहोस्, वा विकास लग को सदस्यता लिनुहोस्।
चेन्जलग
=1.1=
- using {cf custom_field_name } to avoid conflict with shortcodes. cf is an abreviation of ‘custom fields’
- Improved documentation
=1.0=
- Initial release (not for public)