• Hi!

    I’m trying to work with both Custom Field Template and Pods CMS.

    I’m creating a blogging n’ coffee website, where the purpose of each post would be first a discussion of a current local topic and would then end with an entry from my local coffee shop list (populated by Pods CMS).

    Using pods, I would enter this line of code into the post when choosing a shop to showcase:

    [pods name="coffee_houses" slug="@slug" template="coffeehouse_detail"]

    Now, I’m lazy. So I want to use Custom Field Template to auto generate the link above for me at the bottom of each post.

    I thought I could use the “before” and “after” options, and though the link is shown beautifully on the wp-admin/post.php page where you would see custom fields (all I have to do is type in the slug name in a text-field box right between the before and after); it doesn’t translate as I was hoping it would to the post.

    Instead of (as shown in the custom field box beneath the post text area):
    [pods name="coffee_houses" slug="MYCAFE" template="coffeehouse_detail"]

    I get:
    MYCAFE

    So is there any way to echo what is written for the “before” and “after” values directly to the post?

    I even tried entering the before and after bits of code into the Global Settings where: “Text to place before every value which is called by the cft shortcode:” but it simply ignores what I’ve entered and resumes using the <li> </li> for each box option.

    OR is there something I’m missing that can be easily done with Pods CMS?

    I’m a newbie/hobbiest – all I know about php/cms/etc is self taught… so I don’t know much. :\

    Any help would be greatly appreciated!

    Thanks,

    Erin

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there,

    Do you have to use pods? My knowledge of pods isn’t great, but I know they’re very different systems. The CFT use the post_meta table, and Pods use their own custom tables. More efficient yes, but is it more efficient use of your time?

    Is what you’re doing not able to achived using either categories, posts or custom content types? If you have many different coffee shops you could even run them under the WP MU which is a cinch to setup in WP 3.

    Just my 2 cents.

    Thread Starter aerynlynne

    (@aerynlynne)

    Thanks for your suggestions proximity! I appreciate the help. ??

    But, actually yeah – I may just have stumbled onto Pods very recently (ie this past Monday), but I already love using Pods, lol. It’s enabled a type of versatility to my wp site that I never thought could be easily achieved.

    I’ve used MU in the past for other projects, but that’s not the best choice for what I want to do with this site – I’ll be doing quickie reviews on each coffee shop I visit, so each shop won’t need it’s own site for this. Categories would become way too complicated whereas Pods just automatically builds up a database with each entry I fill.

    I did get CFT to create the line of code that I would need to include Pods into my posts, but the code is being generated into the Visual editor instead of the HTML editor. :\

    What I could do though is just have CFT keep the code string on hand and then I’ll just have to manually ctrl+C/ctrl+V it into the HTML editor each time I require it…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Custom Field Template] and [Plugin: Pods CMS]’ is closed to new replies.