Forum Replies Created
-
AuthorPosts
-
sktmax1961Participant
I do have some shortcodes in the sidebar but this particular shortcode needs to go in the excerpt area.
sktmax1961ParticipantHere is the sample code that I used to get the data to automatically show when I save the post.
add_action('genesis_entry_content', 'show_prop_defaults'); function show_prop_defaults() { if ( is_single() && genesis_get_custom_field('_features_1_col1_1') ) echo '<div id="info-details-1"><h6>General Information 1</h6> '. do_shortcode("[new_details details='1']") .'</div>'; if ( is_single() && genesis_get_custom_field('_features_2_col1_1') ) echo '<div id="info-details-2"><h6>General Information 2</h6> '. do_shortcode("[new_details details='2']") .'</div>'; }
sktmax1961ParticipantThanks, I had the (correct) code same as above in my functions file. I pasted the code earlier from my notes. Here is what I'm doing. I am using the metaboxes from the old agentpress and I have added 3 additional metaboxes to that. It works fine. I have set that so that when I fill in the data and save the post the info is automatically added to the post without having to type the shortcode every time. I am attempting to do the same thing in the excerpt area, but I'm at a loss on where to go next. I appreciate your help.
sktmax1961ParticipantThanks. I'm having trouble setting it up so the shortcode doesn't have to be typed in each time. Can you help with this?
sktmax1961ParticipantThank you for all of your responses. I had already selected that option in the widgets. And also I am aware of the code to put in functions .php. The issue is that I need to have the option to change that on the front end the way it is 'suppose to be' set up. Putting that in the functions php file is site wide not per widget.
Some of the themes are not working properly and I am not sure exactly how to fix 'all' of the issues, specifically this one.
Thanks again.
sktmax1961ParticipantThere is no option for 'no content' on the Genesis Themes Setting Page
sktmax1961ParticipantI switched themes and deactivated and reactivated GFWA then went back to Agentpress and color schemes are working.
But the initial problem of content is still showing.
On the plugins I select no content. On the Theme's Settings page there is option to choose show content or show excerpt. Then limit characters. That is set to 0
sktmax1961ParticipantYes. I deactivated all of the plugins. but the problem still exists. I'm not sure what's happening. I deactivated Genesis Featured Amplified to use just the featured post and page widgets that comes with the theme. Reactivated Genesis Featured Amplified because I needed to use the option to center my images. After doing that, the color schemes are not working properly. I uploaded a clean style sheet and functions .php without the changes I had made. Both problems still exist.
-
AuthorPosts