May 4, 2011

Syndication Custom Post with Meta-Box Plugin PHP Code | CyberSEO Pro | Support Forum

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
Syndication Custom Post with Meta-Box Plugin PHP Code
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
March 5, 2014
9:26 am
Avatar
Josemanuel
Guest
Guests

My themes use Login to see this link  to generate multiple meta boxex working with custom post types and generating various filed types.

The code in the themes has the code example:

Login to see the code

The RSS i want to syndicate is:

Login to see the code

I have the Custom Fields :
    thumb->thumb
    price->price

And the PHP Code :

Login to see the code

But it's not wordking , the field price , is not saved.
Any Helps?

March 6, 2014
7:40 am
Avatar
CyberSEO
Admin
Forum Posts: 3913
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

You don't need a PHP code to "save" the custom field. This line will do everything you need:

price->price

The "<price>" tag value will be stored as the "price" WordPress custom field. PHP code can be used to modify the post contents. For example:

Login to see the code

March 6, 2014
4:47 pm
Avatar
Josemanuel
Guest
Guests

Thanks for your help, but correc me , this solution only add a new field, price, but not save the data of xml in the original custom field 'price' of the theme. I've tried this solution is custom fields, and apparenty is Working OK, saving the custom field of the themes:

price->_listingpress_price

But this solution is not working for the Custom Taxonomies in the form of my themes: The code in the themes is:

Login to see the code

I've tied with this solution but, nothing , i continue investigating , if you have any advise , I will Be Please.     Thanks                             

March 7, 2014
12:39 am
Avatar
CyberSEO
Admin
Forum Posts: 3913
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

As I said above, you do don't need a PHP to save the XML tag value as a custom field.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online: info.digitales
29 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 68

Freedom: 61

Pandermos: 54

MediFormatica: 49

B8europe: 48

Member Stats:

Guest Posters: 337

Members: 2819

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1627

Posts: 8280

Newest Members:

sneakpeachagency, bkc.tessier, igor.buzaev, jeremyboucher, lthompson2709, MAC

Administrators: CyberSEO: 3913