Forum Replies Created
-
AuthorPosts
-
sheilabParticipant
Thank you for this information.
SiteGround support had me replace the database entries in the config file then told me that I have a theme or plugin problem when the posts, widgets etc were missing.
Arg.
sheilabParticipantI am experiencing the same problem.
https://www.bupsports.com/product-category/targets-backstops/January 3, 2017 at 8:55 am in reply to: Edit Footer Widget description on Appearance/Widgets page #198687sheilabParticipantGot it. Thanks much!
sheilabParticipantShould the image resolution still be 72ppi?
sheilabParticipantI have the same question and I wish that that your fix would have word, Sam, but it didn't. Any other suggestions out there? It's making me sorry to have chosen a parallax theme.
sheilabParticipantThanks, but is there a way to avoid having to looking at 21 sites every time I do an update?
sheilabParticipantHaving the same problem with the white space.
sheilabParticipantThank you!
Your custom field post was very valuable. I installed ACF and drawing from you code I was able to use Simple Hooks to display the fields.
sheilabParticipantThanks for this! I now understand how to use Genesis Simple Hooks. Very useful. Unfortunately it turns out not to be what I need in this particular case.
What I need is to format a category of single posts with a short-code initiated slideshow and a block of descriptive text sitting to its right. The slide show and text need to be centered on the page. My client will be adding links etc to the descriptive text so it has to be added from the post editor.
http://www.bergmanmediaservices.com/test-slideshow-page/
Can you tell me the best way to go about this?
Thanks again! Sheila
sheilabParticipantLeanne, hook up with a WordPress user group. The MSP WordPress google usergroup is a lifeline for me. If I have a complicated coding issue , I post a request for consulting services. Usually someone steps up who can resolve my problem in an hour of their time. Much better than racking my brains for hours or losing a client.
sheilabParticipantThis is the final working version of the code that worked for me:
/** Add custom fields to project category posts smb. This works.*/
add_action( 'genesis_post_content', 'child_custom_field' );
function child_custom_field() {
if( genesis_get_custom_field( 'project_description' ))
echo '<span class="project_description">',
genesis_get_custom_field( project_description ) ,'</span>';
if( genesis_get_custom_field( 'slideshow_shortcode' ))
echo '<span class="slideshow_shortcode">', do_shortcode(''. genesis_get_custom_field( 'slideshow_shortcode' ) .''),'</span>';
}sheilabParticipantI have added the do_shortcode function to the echo command and have tried for hours to get rid of this parse error:
Parse error: syntax error, unexpected '[' in /Users/bergman/Documents/Websites/www.teripower.dev/wp-content/themes/outreach/functions.php on line 81 (line 81 is the echo do_shortcode line for the slideshow_shortcode.)
Please take a look and see what I'm doing wrong. Thanks.
/** Add custom fields to project category posts smb*/
add_action( ‘genesis_post_content’, ‘child_custom_field’ );
function child_custom_field() {if( genesis_get_custom_field( ‘slideshow_shortcode’ ))
echo do_shortcode(“[. genesis_get_custom_field( ‘slideshow_shortcode’ ) .]“);if( genesis_get_custom_field( ‘project_description’ ))
echo ‘<div class=”project_descriptione”>’ . genesis_get_custom_field( ‘project_description’ ) .’</div>’;
}sheilabParticipantThanks so much for this.
I added the js folder with the query-migrate-1.0.0.min.js file at the same level as function.php in my theme and I am getting this parse error with the code I cut and pasted into my functions.php file. Please advise.
Parse error: syntax error, unexpected T_DNUMBER in /home/bergman2/luvnbitsnparts.com/wp-content/themes/venture/functions.php on line 32/** Add JQuery Migrate to Genesis child theme */
add_action(‘wp_enqueue_scripts’, ‘bugfix_add_jquery_migrate’);
function bugfix_add_jquery_migrate(){
if (!is_admin()) {
wp_register_script( ‘jquery-migrate’, get_stylesheet_directory_uri() . ‘/js/jquery-migrate-1.0.0.min.js’, array(‘jquery’));
wp_enqueue_script( ‘jquery-migrate’);
}
}sheilabParticipantI found the syntax error, I was missing the end parenthesis in my functions. I'm seeing the custom fields now but I still need help getting the slideshow short code to read as short code. http://www.teripower.dev/project-2/
This is the code in my functions.php file:
/** Add custom fields to project category posts smb*/
add_action( 'genesis_post_content', 'child_custom_field' );
function child_custom_field() {
if( genesis_get_custom_field( 'slideshow_shortcode' ))
echo '<div class="slideshow_shortcode">' . genesis_get_custom_field( 'slideshow_shortcode' ) .'</div>';
if( genesis_get_custom_field( 'project_description' ))
echo '<div class="project_descriptione">' . genesis_get_custom_field( 'project_description' ) .'</div>';
}I've played with adding parts of the code below to the code above and also tried wrapping parts of it around the short code's custom field value when I define it in the post editor but can't get it right. The short code calls a slideshow. Should I post this as a new topic?
echo do_shortcode("[Shortcode]");
I'm getting closer.
Thanks!
Sheila
sheilabParticipantI am using the Venture child theme.
sheilabParticipantSame problem here. I was notified by my client this morning of the drop down problem . I had not yet updated to 1.9.1 and had not touched the site for a number of days. Updating and disabling all plugins did not resolve it. http://www.bcrjp.org/
my plugins:
Akismet
BackupBuddy
Benchmark
Genesis Featrued Widget Amp
Gen Simple Edits
Gen Simple Sidebars
Google Calendar Widget
Google XML Sitemaps
Gravity Forms
Gravity Forms PayPal Add-on
Hello Dolly
Members
sheilabParticipantI haven't styled the drop downs background color yet and there should be three li under the menu item called 'current'. I am seeing only one li. Using the latest versions of Firefox and Safari.
sheilabParticipantWhen I submit a reply to this post, I am sent to a 404 page.
sheilabParticipantThanks! Custom fields and CSS should work for me here. I have put this code into my functions.php file but am getting a syntax error and I just can't see it. Please advise.
/* add custom fields smb*/
if( genesis_get_custom_field( 'slideshow_shortcode' )
echo '<div class="slideshow_shortcode">' . genesis_get_custom_field( 'slideshow_shortcode' ) .'</div>';if( genesis_get_custom_field( 'project_description' )
echo '<div class="project_description">' . genesis_get_custom_field( 'project_description' ) .'</div>'; -
AuthorPosts