Closed GoogleCodeExporter closed 8 years ago
I'm not sure if this is enough info for a bug report -- I'm not clear on what
you mean by "doesn't show up." Can you clarify what the actual result is vs.
the expected result and where exactly this is occurring.
Original comment by ever...@fireproofsocks.com
on 13 Dec 2013 at 10:04
Sure.
They do not show up on the message page...
http://www.victorychurch.ws/message/white-christmas/ This page has the
custom fields filled out, yet it is not showing up live.
Also from the earlier screens - the one screen has no data in the custom fields
section, however the content is showing up from previously.
Original comment by aaron.sm...@gmail.com
on 13 Dec 2013 at 10:21
Where this older entry shows the content:
http://www.victorychurch.ws/message/wake-up-do-something-missions/
Original comment by aaron.sm...@gmail.com
on 13 Dec 2013 at 10:27
Re the front-end: that's a matter of debugging your templates. You would need
to look at the single-xxxx.php template file that is printing out data from
this custom post-type, or if the message page contains a script that iterates
over other posts, then you'd have to debug that script that is meant to print
out those fields.
Re the images: I don't have enough info to see if there's a problem. You've
got 2 screenshots there editing 2 different posts. What are you expecting to
see and what are you actually seeing?
A thorough bug report might go something like this:
"I am editing post 123 and I expect to see values in my custom fields (x and
y). Instead I'm seeing nothing in those fields in the wordpress manager."
If you need me to log in and look around, I have to bill hourly for those fixes
-- you can contact me at everett@fireproofsocks.com. Right now, I cannot
confirm whether this is a bug or simply a matter of how you've set up your
site.
Original comment by ever...@fireproofsocks.com
on 13 Dec 2013 at 10:32
Ah fair enough.
Let me get back to you, this was working before - fill in the custom fields -
they display live. Now it is not working in the sense that you fill in the
custom fields, but they do not display when published.
I'll find out what happened and post back.
thanks!
Original comment by aaron.sm...@gmail.com
on 13 Dec 2013 at 10:38
Ok, found out the cause of the problem.
The client updated wordpress on their own around November 6th.
Before this filling out a custom field would preform as normal, fill in the
field, and it would appear live with the content in the browser.
Looks like they are running 3.7.1 WP - now the issue is as above - fill out a
custom field on the edit/create, expected result is the field to show up in the
live content, it does not.
Just let me know if there is anything obvious with their setup that could cause
this, or point me in a direction to follow (i.e., plugin or post code etc).
Thanks again for the help!
Original comment by aaron.sm...@gmail.com
on 16 Dec 2013 at 2:15
Again, sounds like the template file got overwritten or altered so it's not
printing out the custom content. That wouldn't qualify as a bug, but there's
no way for me to know without being able to access your site.
Original comment by ever...@fireproofsocks.com
on 16 Dec 2013 at 2:25
Back on this....
I spun up a blank wordpress site (3.8). Using a default (older) 2012 theme, and
no plugins other than CTM - I can't seem to get the custom fields to show up on
the live page.
I am attaching a file with screen shots. - Am I missing something on my end
that is preventing the custom field from showing?
INFO:
*SYSTEM INFO*
------------------------
Plugin Version: 0.9.7.11-pl
WordPress Version: 3.8
PHP Version: 5.2.17
MySQL Version: 5.1.72-log
Server OS: Linux
Language:
------------------------
ACTIVE PLUGINS:
------------------------
CURRENT THEME: Twenty Twelve v.1.3 http://wordpress.org/themes/twentytwelve
Enter custom text into field - expected result = visible on live page, actual
result = field value is not visible on page
Original comment by aaron.sm...@gmail.com
on 2 Jan 2014 at 7:36
Attachments:
http://expedition-design.com/dev/victory/ - the url in question
Original comment by aaron.sm...@gmail.com
on 2 Jan 2014 at 7:38
As I said before: this is up to you to print the field value in your templates.
The field is showing correctly in the manager. Everything on the front-end of
your site is really is a question of formatting preference. There are sample
templates generated for you by CCTM if you click the link "View Sample
Template" and place the code in the file(s) indicated. If you're attaching the
field to the built-in post or page post-types, then you should put the
references in a theme file named "single.php" or "page.php" (see this diagram:
http://codex.wordpress.org/Template_Hierarchy)
You would print the field value using one of the CCTM's theme functions
referencing the field's unique identifier:
<?php
print_custom_field('stuff');
?>
Original comment by ever...@fireproofsocks.com
on 2 Jan 2014 at 7:43
Bingo.
The print was in the wrong place (file).
Thanks for all the help.
Original comment by aaron.sm...@gmail.com
on 2 Jan 2014 at 7:55
Closing this.
Original comment by ever...@fireproofsocks.com
on 1 Feb 2014 at 9:36
Original issue reported on code.google.com by
aaron.sm...@gmail.com
on 13 Dec 2013 at 9:34Attachments: