Project

General

Profile

Actions

Bug #11266

closed

Custom field issue on thesegalcenter.commons

Added by Moeinedin Shashaei about 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
-
Target version:
Start date:
2019-03-25
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Short title custom field is missing at where one adds/edits events on the commons.

Actions #1

Updated by Boone Gorges about 5 years ago

  • Status changed from New to Reporter Feedback

Hi Moein - I can try to help, but can you please provide more details? Please give specific URLs, and a description of what you expect to see, along with a description of what you actually see.

Actions #2

Updated by Moeinedin Shashaei about 5 years ago

sure, thanks for your help!

on

https://thesegalcenter.org/events/

in the sidebar on the left, we expect to see name of individual events under each category that is listed under Spring 2019. For example, under the US Theatre we used to see a short title of the events that right now you can only see if you click on US Theatre and go to it's page. Also the calendar of upcoming and past events seem to be suffering from the same lack of event titles.

According to our staff, there used to be a short title custom field where they add/edit the events on the Commons. We think the bug in the front has to do with the lost custom field in the Commons.

I guess it is the same issue addressed here — that the new update in ACF plugin hides the custom field metaboxes:
https://www.wpbeginner.com/wp-tutorials/how-to-fix-custom-fields-not-showing-in-wordpress/
Do you think if adding that snippet, mentioned in Troubleshooting at the bottom of the above page, to the functions.php of the theme does the job?

this is the snippet:

add_filter('acf/settings/remove_wp_meta_box', '__return_false');

Thank you

Actions #3

Updated by Boone Gorges about 5 years ago

It appears that the theme expects there to be a piece of postmeta called 'short-title'. I just added the snippet to your theme's functions.php, and now I see the custom fields section of the edit pages https://thesegalcenter.commons.gc.cuny.edu/wp-admin/post.php?post=8591&action=edit&classic-editor. Note, though, that the short-title value is still missing - it'll need to be added for each post in question.

Actions #4

Updated by Raymond Hoh almost 5 years ago

Hi Moein, does Boone's suggestion fix this issue?

Let us know.

Actions #5

Updated by Boone Gorges almost 5 years ago

  • Status changed from Reporter Feedback to Resolved
  • Target version set to Not tracked

Going to close this one on the assumption that it's working.

Actions

Also available in: Atom PDF