• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

eurasiarc

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • November 3, 2013 at 1:35 pm in reply to: Latest Post Doesn't Appear on Top – Magazine Pro Theme – WordPress 3.7.1 #70708
    eurasiarc
    Member

    Resolved

    It turns out that the latest post belongs to a category that was placed below the category of the previous post in the widgets for this division of the blog layout.

    November 3, 2013 at 1:15 pm in reply to: Problems Using WP Cycle In Text Widgets #70703
    eurasiarc
    Member

    This issue has been resolved by a timely clarification on a related thread.

    It turns out that the real (short and simple) shortcode for the WP Cycle theme that works once shortcoding has been enabled on the functions.php page is simply:

    [wp_cycle]

    A great little shortcode which illustrates the true meaning of shortcode.

    A line to this effect might be added to the WP Cycle tutorial saving beginners a lot of time.

    Thanks to the developers of WP Cycle and forum support professionals!

    November 3, 2013 at 1:09 pm in reply to: WP Cycle – Which Themes Support It? #70702
    eurasiarc
    Member

    Thanks very much for the very simple clarification.

    I have used similar simple shortcodes used with other plugins like responsive video, but was confused by the technical explanation given in the WP Cycle tutorial where what is meant by shortcode is not necessarily clear to the non developer. I think there needs to be an additional paragraph or sentence in the tutorial specifying exactly what the shortcode for WP Cycle should be. The tutorial includes an instance of the shortcode but inside a longer function statement.

    The real short shortcode actually works! Beginners and non techs just need to know what it is.

    Thanks again to you all and thanks to the developer of WP Cycle for a useful and attractive plugin.

    November 3, 2013 at 12:46 pm in reply to: WP Cycle – Which Themes Support It? #70699
    eurasiarc
    Member

    Thanks very much for getting back.

    I have tried the original shortcode provided on the WP Cycle documentation and tutorial page.

    I tried a number of modifications, but currently the widget has the exaxt shortcode that appears on this tutorial page.

    This is the exact shortcode that has been pasted into the widget

    add_action('genesis_header', 'wpcycle_slider_header_home');

    function wpcycle_slider_header_home() {
    if (is_home()) {
    echo do_shortcode('[wp_cycle]');
    }
    }
    /**
    * @author Brad Dalton - WP Sites
    * @example http://wp.me/p1lTu0-a1K
    */

    This is exactly the shortcode that appears on this WP cycle documentation page.

    http://wpsites.net/best-plugins/3-ways-to-display-wp-cycle-slide-shows-in-your-theme/#wp_cycle_PHP_tag_In_Custom_Function

    The shortcode provided obviously needs to be modified so that it will appear properly when used in a text widget.

    One can see the results on this blog where the shortcode has been pasted into a text widget. You will see that the widget has WP Cycle with rotating images but shortoding clutters the widget. Something has to be done so that the shortcode will disappear without WP Cycle also disappearing.

    http://globalanalystonline.com/wp/

    November 3, 2013 at 12:32 pm in reply to: Problems Using WP Cycle In Text Widgets #70697
    eurasiarc
    Member

    SUMMARY OF CODING PROBLEMS WITH USING WP CYCLE IN A TEXT WIDGET IN WORDPRESS 3.7.1

    The instructions provided on this page need to be revised and adapted to each theme before they will function properly. How to do this is not obvious.

    http://wpsites.net/best-plugins/3-ways-to-display-wp-cycle-slide-shows-in-your-theme/#wp_cycle_PHP_tag_In_Custom_Function

    Regarding an attempt to follow these instructions for use with a blog using WordPress 3.7.1 and the Magazine Pro child theme, the following instructions were implemented to the letter.

    1) The recommended php was pasted at the end of the theme’s functions.php page

    2) The shortcode provided was pasted into the text widget.

    This did not solve the problem entirely because parts of the shortcode itself appear in the tex widget instead of being hidden. The problem is how to get the shortcode hidden from view so that the widget displays only WP Cycle and does not have sections of code that clutters the layout.

    There is something about text widgets in the current 3.7.1 version of WordPress or the shortcode itself that causes the shortcode to appear in the widget instead of WP Cycle. The shortcode provided does not work properly in the text widgets of WordPress and the Magazine Pro theme.

    Please look at the site itself. All of the instructions provided have been followed to the letter and the shortcode has been entered verbatim into a text widget. It does not work.

    Something needs to be done to modify and improve the shortcode so that what the shortcode is designed to do, ie present the WP Cycle images in a legible and uncluttered fashion without fragments of shortcode appearing in the text widget on the homepage.

    A modification or revision of the shortcode that solves this problem is needed to make the shortocde and WP Cycle function properly in the Magazine Pro and probably other themes. There are clearly problems in the syntax of the shortode itself when it comes to using them with WordPress 3.7.1 and the Genesis based Magazine Pro theme which came out a few days ago. What is needed is for all of the coding to disappear from the text widget.

    The instructions on the page provided need elaboration and revision.

    http://globalanalystonline.com/wp/

    After some clarifications, the instructions and the shortcode recommended on this page were all implemented exactly as recommended on the tutorial - documentation page on the use of the WP-Cycle plugin listed below. Shortcoding was enabled on the functions.php page and the shortcode provided was pasted into the text widget.

    http://wpsites.net/best-plugins/3-ways-to-display-wp-cycle-slide-shows-in-your-theme/#wp_cycle_PHP_tag_In_Custom_Function

    The shortcode and other coding recommended on the page above needs to be modified for it to work.

    November 3, 2013 at 12:19 pm in reply to: WP Cycle – Which Themes Support It? #70695
    eurasiarc
    Member

    Both of the conditions stated above were implemented and integrated yesterday into my blog which uses Magazine Pro theme.

    1) The recommended php was pasted at the end of the theme's functions.php page

    2) The shortcode provided was pasted into the text widget.

    This did not solve the problem entirely because parts of the shortcode itself appear in the tex widget instead of being hidden. The problem is how to get the shortcode hidden from view so that the widget displays only WP Cycle and does not have sections of code that clutters the layout.

    There is something about text widgets in the current 3.7.1 version of WordPress or the shortcode itself that causes the shortcode to appear in the widget instead of WP Cycle. The shortcode provided does not work properly in the text widgets of WordPress and the Magazine Pro theme.

    Please look at the site itself. All of the instructions provided have been followed to the letter and the shortcode has been entered verbatim into a text widget. It does not work.

    Something needs to be done to modify and improve the shortcode so that what the shortcode is designed to do, ie present the WP Cycle images in a legible and uncluttered fashion without fragments of shortcode appearing in the text widget on the homepage.

    A modification or revision of the shortcode that solves this problem is needed to make the shortocde and WP Cycle function properly in the Magazine Pro and probably other themes. There are clearly problems in the syntax of the shortode itself when it comes to using them with WordPress 3.7.1 and the Genesis based Magazine Pro theme which came out a few days ago. What is needed is for all of the coding to disappear from the text widget.

    The instructions on the page provided need elaboration and revision.

    http://globalanalystonline.com/wp/

    After some clarifications, the instructions and the shortcode recommended on this page were all implemented exactly as recommended. Shortcoding was enabled on the functions.php page and the shortcode provided was pasted into the text widget.

    http://wpsites.net/best-plugins/3-ways-to-display-wp-cycle-slide-shows-in-your-theme/#wp_cycle_PHP_tag_In_Custom_Function

    November 2, 2013 at 10:23 pm in reply to: WP Cycle – Which Themes Support It? #70644
    eurasiarc
    Member

    I almost have WP Cycle working in a text widget using only this code:

    echo do_shortcode('[wp_cycle]

    <p>

    However the code text continues to show up in the widget cluttering the layout.

    I found a trick that gets the text of the shortcode to disappear from the widget and display only the WP Cycle Image display.

    If you simply add

    <form echo do_shortcode('[wp_cycle]

    the unwanted code disappears and you see only WP Cycle.

    However this destroys the theme layout and causes the main sidebar to float down to the bottom of the blog.

    There must be some piece of code that will get the shortcode to work in a text widget without cluttering the display.

    I would be very appreciative if anyone can explain exactly how this should be done.

    I found the suggestion that adding the statement

    <form

    to any line of html, or shortcode will cause at least some of the unwanted code to disappear from the widget. It works for the use of WP Cycle in a text widget, but it causes other problems with the theme layout, shifting the sidebars to the bottom of the homepage.

    November 2, 2013 at 7:31 pm in reply to: WP Cycle – Which Themes Support It? #70617
    eurasiarc
    Member

    The shortcode has been added to a text widget, but the code itself continues to show up in the widget in addition to the WP-Cycle image changer.

    November 2, 2013 at 6:38 pm in reply to: WP Cycle – Which Themes Support It? #70608
    eurasiarc
    Member

    The problem is that there is no WP-Cycle widget with the Magazine Pro theme. The WP Cycle widget that was available in the Enterprise theme is no longer there.

    I will keep looking to see if I can find it.

    I just checked and with the enterprise theme WP Cycle is built into the theme itself and is not a widget. It is built into the header of the Enterprise theme.

    There is no wp cycle widget in either theme unless there is a simple way to create one that works. As can be seen the WP Cycle shortcode that was added to a text widget shows up in the blog along with the WP Cycle itself.

    November 2, 2013 at 6:07 pm in reply to: WP Cycle – Which Themes Support It? #70594
    eurasiarc
    Member

    Something is causing both the code and WP Cycle to appear in the text widget.

    Does anyone know how to get the code to disappear?

    Thanks for any additional help.

    November 2, 2013 at 5:48 pm in reply to: WP Cycle – Which Themes Support It? #70589
    eurasiarc
    Member

    I almost got this right.

    I added a line to the functions.php file to enable shortcodes.

    Then I added the text of the shortcode suggested on the page to which I was referred.

    WP-Cycle is appearing in the text widget in which I added the code recommended. However there is something wrong with the phrasing or syntax used in the code I placed in the widget, because in addition to WP-Cycle which is indeed visible and functioning, there is some unwanted code that apppears above and below thw WP-Cycle Images.

    How do i get the unwanted code to disappear from the widget so that only WP Cycle appears?

    Here is the site where I am trying this.
    http://globalanalystonline.com/wp/

    Here is the shortcode segment I copied and pasted from the how to page. Something needs to be edited out of this:

    add_action('genesis_header', 'wpcycle_slider_header_home');

    function wpcycle_slider_header_home() {
    if (is_home()) {
    echo do_shortcode('[wp_cycle]');
    }
    }
    /**
    * @author Brad Dalton - WP Sites
    * @example http://wp.me/p1lTu0-a1K
    */

    November 2, 2013 at 5:24 pm in reply to: WP Cycle – Which Themes Support It? #70584
    eurasiarc
    Member

    Thanks again.

    I do have the plugin installed and was using it with the Enterprise theme. The one thing I need to learn is how to add support for shortcodes in widgets. I haven't figured out how to do that yet. I would guess its some place in WP or Genesis's documentation. Maybe by the time you get back to me, I will have found it. I think I'm getting a bit closer to the critical mass for a breakthrough on this problem.

    I'm going to see if I can enable support for shortcodes in widgets.

    November 2, 2013 at 3:19 pm in reply to: WP Cycle – Which Themes Support It? #70563
    eurasiarc
    Member

    Thanks for the latest. I figured this out. On my first look, I didn't see a good place in the functions file to place the code. The Enterprise theme has the code related to wp-cycle in the home.php page, not the functions.php page.

    I just added the code sample to the functions.php page for the Magazine pro theme. It does cause wp-cycle to appear in the header of a blog using the theme.

    I want wp cycle to appear in the home-top division for the theme, not the header, so some change in the coding of the recommended tag needs to take place in order to instruct wp-cycle to appear in the home-top division instead of the header. I tried some changes in the coding, but so far have not been able to get this to work.

    The code suggested above causes wp-cycle to appear only in the header area. Also there is no padding between the images loaded into wp-cycle and the black header. It appears some additional modifications are needed such as an added spacer image to make this appear well in the Magazine Pro template.

    Some additional changes to the suggested code need to be made before wp-cycle will appear in any area other than the header are for this theme.

    The general principle for adding wp-cycle is there, but it takes additional changes in the theme to make it look good.

    November 2, 2013 at 2:09 pm in reply to: WP Cycle – Which Themes Support It? #70552
    eurasiarc
    Member

    Thanks for the tip.

    I have been experimenting without success with adding to the hooks page and also trying to add a custom text widget.

    So far its not workiong.

    I am having trouble identifying the right page to edit in the new Magazine Pro theme used with Genesis.

    The only pages available for editing in the WP themes editor are the css style page and pages called

    theme--functions.php
    landing-page.php
    and
    front-page.php
    as well as styles.css

    The pages are named very differently from those of the Enterprise theme where I was able to locate the code integrating wp-cycle into the template.

    Do you have any idea which of the above listed pages needs to be edited with the wp-cycle tag added?

    Thanks for any additional tips.

    November 2, 2013 at 1:13 pm in reply to: WP Cycle – Which Themes Support It? #70547
    eurasiarc
    Member

    Thanks for the link to the page explaining the customization of WP cycle.

    There are a couple of loose ends in the article that require further explanation.

    The page gives alternatives for sites that use simple hooks and those that don't. All genesis sites used hooks.

    The instructions are not clear on how to position wp cycle within the layout of a theme. There is a short line of code to place in a text widget, but it is not explained whether the widget code is sufficient or whether additional editing of function files is required or whether the alternative coding for themes that use or do not use simple hooks can be used on any blog and why.

    I will experiment with this but unless the explanation addresses these unaddressed issues, it may be difficult to get wp-cycle working in the right layout division.

    Will check this out and see if it works with the Magazine Pro Theme. I will try to create a wp-cycle widget that can be placed in the home top division of the Magazine Pro layout.

    SUMMARY MAIN QUESTION:

    Do you need to add code to the function files AND add aditional code to a text widget or is the short line of code suggested for the text widget sufficient for this purpose?

    Thanks for any help with these questions.

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 15 total)

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble