Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Jan

    (@hanessh4)

    I can confirm that the problem source was in the database – I created the new table manually and its working now.

    Thanks for the support.

    Thread Starter Jan

    (@hanessh4)

    I can not access the banner settings from anywhere (menu, last wizard step, direct link, …)

    Thread Starter Jan

    (@hanessh4)

    Hello all,

    I will try to answer all questions at once:

    – I have tried to go through the https://www.wpbeginner.com/wp-tutorials/how-to-fix-error-too-many-redirects-issue-in-wordpress/
    even #2 & #3 with no success – I dont have any issues with too many redirect except banner settings page…

    – I am not sure how to save the banner settings when I cannot access the banner settings at all??

    – I dont have any plugin for 404 error installed, as I said – I fixed the 404 for banner by renaming the css file – no 404 error now, and the banner is visible, but the banner setting is still not possible to open due to redirect error

    Thanks for quick response, great support of great plugin!

    • This reply was modified 2 years, 10 months ago by Jan.
    • This reply was modified 2 years, 10 months ago by Jan.
    • This reply was modified 2 years, 10 months ago by Jan.
    Thread Starter Jan

    (@hanessh4)

    Hello Rohit,

    Well I don’t see the option to share attachment on this forum, I will try to describe better:

    Well I was facing two issues
    1. Missing Metabox for transparency control in the new post screen:
    In the create new page there are two custom Metaboxes with IDs: flash_page_layout and flash_transparency. But from some reason there is only one metabox in the new “post” screen – flash_page_layout. There is still possibility to control the transparency via custom fields.

    2. Way how to set “default” value for this metaboxes in new page/post

    I found one solution which seems to work just fine, but don’t know if there is better way (mine solution stops working after updating the theme as I discovered).

    STEP 1 Transparency Metabox for new post
    My solution:
    In the metaboxes.php line 54 function flash_add_custom_box() there are two definitions for two metaboxes for the new “page” but only one definition for new “post” see:

    function flash_add_custom_box() {
    	add_meta_box( 'page-layout', esc_html__( 'Select Layout', 'flash' ), 'flash_layout_call', 'page', 'side', 'default' );
    	add_meta_box( 'page-layout', esc_html__( 'Select Layout', 'flash' ), 'flash_layout_call', 'post', 'side', 'default' );
    	add_meta_box( 'header-transparency', esc_html__( 'Header Transparency', 'flash' ), 'flash_transparency_call', array('page'), 'side'	);
    }

    – so adding new line with:

    	add_meta_box( 'header-transparency', esc_html__( 'Header Transparency', 'flash' ), 'flash_transparency_call', array('post'), 'side'	);
    

    do the work.

    STEP 2 default values of metaboxes
    In the same file lines 86 and 96 seems to handle the default values for both metaboxes in the same way:
    if( empty( $flash_meta ) ) { $flash_meta = 'non-transparent'; } ?>
    – Simple change to:
    if( empty( $flash_meta ) ) { $flash_meta = 'transparent'; } ?>
    seems to work.

    I don’t know if there is some better, maybe preferable way how to set this or if the missing transparency box in the new post is bug.

    Hopefully its clear now.
    Thanks for any opinion.
    Jan

    • This reply was modified 4 years, 3 months ago by Jan. Reason: bug fix
    Thread Starter Jan

    (@hanessh4)

    Well, I have tried it and nothing changed. The problem is same as described above.

    I have tried safari 8.0.3 and chrome 40.0.2214.115 (64-bit).
    Wordpress version 4.1.1

    Server info:
    Operating System: Linux (64-bit)
    Server: Apache
    Memory Usage: 8.55 megabytes
    MySQL Version: 5 June 17
    SQL mode: NO_ENGINE_SUBSTITUTION
    PHP version: April 5, 37
    PHP allows URL fopen: Enabled
    PHP Memory Limit: 128
    PHP Max Upload Size: 32M
    PHP Max Post Size: 32M
    PCRE Backtracking Limit: 500000
    PHP Script Execute Max Time: 90s
    PHP Exif support: Yes (V1.4)
    PHP support IPTC: Yes
    PHP XML Support: Yes

Viewing 5 replies - 1 through 5 (of 5 total)