Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Just here to add my vomit to the pile regarding this ridiculous new editor now that mine has just updated. I’ll never understand why updates have to be so convoluted and complicated. I wanted to make a quick edit to an old post before work, and had to waste precious time learning how to deal with this stupid new process. A clean, simple, intuitive editor has been “updated” to a frustrating confusing mess that is not at all intuitive and not at all convenient. And to get back to what was there, we’re told we have to install a plugin. Really? A more logic idea would have been to offer a plug in for an update instead.

    I’m trying to do this as well – add static text before new posts on my blog page (not my home page – which is set to a static page). Can you please explain where to add the static content to the index.php template file? You say ‘before the Loop’, but I’m clueless as to what that means. Here is my main index.php info – (I’d like to add a “blog title”) – am I even looking to do this in the proper php file?

    <?php
    /*
    Title : SMOF
    Description : Slightly Modified Options Framework
    Version : 1.4.0
    Author : Syamil MJ
    Author URI : https://aquagraphite.com
    License : WTFPL – https://sam.zoy.org/wtfpl/
    Credits : Thematic Options Panel – https://wptheming.com/2010/11/thematic-options-panel-v2/
    KIA Thematic Options Panel – https://github.com/helgatheviking/thematic-options-KIA
    Woo Themes – https://woothemes.com/
    Option Tree – https://www.ads-software.com/extend/plugins/option-tree/
    */

    /**
    * Definitions
    *
    * @since 1.4.0
    */
    $theme_version = ”;

    if( function_exists( ‘wp_get_theme’ ) ) {
    if( is_child_theme() ) {
    $temp_obj = wp_get_theme();
    $theme_obj = wp_get_theme( $temp_obj->get(‘Template’) );
    } else {
    $theme_obj = wp_get_theme();
    }

    $theme_version = $theme_obj->get(‘Version’);
    $theme_name = $theme_obj->get(‘Name’);
    $theme_uri = $theme_obj->get(‘ThemeURI’);
    $author_uri = $theme_obj->get(‘AuthorURI’);
    } else {
    $theme_data = get_theme_data( TEMPLATEPATH.’/style.css’ );
    $theme_version = $theme_data[‘Version’];
    $theme_name = $theme_data[‘Name’];
    $theme_uri = $theme_data[‘ThemeURI’];
    $author_uri = $theme_data[‘AuthorURI’];
    }

    define( ‘SMOF_VERSION’, ‘1.4.0’ );
    define( ‘ADMIN_PATH’, TEMPLATEPATH . ‘/admin/’ );
    define( ‘ADMIN_DIR’, get_template_directory_uri() . ‘/admin/’ );
    define( ‘LAYOUT_PATH’, ADMIN_PATH . ‘/layouts/’ );
    define( ‘THEMENAME’, ‘Theme Options’ );
    /* Theme version, uri, and the author uri are not completely necessary, but may be helpful in adding functionality */
    define( ‘THEMEVERSION’, $theme_version );
    define( ‘THEMEURI’, $theme_uri );
    define( ‘THEMEAUTHORURI’, $author_uri );

    define( ‘OPTIONS’, $theme_name.’_options’ );
    define( ‘BACKUPS’,$theme_name.’_backups’ );

    /**
    * Required action filters
    *
    * @uses add_action()
    *
    * @since 1.0.0
    */
    if (is_admin() && isset($_GET[‘activated’] ) && $pagenow == “themes.php” ) add_action(‘admin_head’,’of_option_setup’);
    add_action(‘admin_head’, ‘optionsframework_admin_message’);
    add_action(‘admin_init’,’optionsframework_admin_init’);
    add_action(‘admin_menu’, ‘optionsframework_add_admin’);
    add_action( ‘init’, ‘optionsframework_mlu_init’);

    /**
    * Required Files
    *
    * @since 1.0.0
    */
    require_once ( ADMIN_PATH . ‘functions/functions.load.php’ );
    require_once ( ADMIN_PATH . ‘classes/class.options_machine.php’ );

    /**
    * AJAX Saving Options
    *
    * @since 1.0.0
    */
    add_action(‘wp_ajax_of_ajax_post_action’, ‘of_ajax_callback’);

    ?>

    my site is here – https://www.deboradale.com and the page I’m trying to editwould be https://www.deboradale.com/blog

    Thank you in advance!

    Thread Starter nyauthor

    (@nyauthor)

    Thank you, Samuel. I modified the footer.php and deactivated a plugin. I checked the template code but don’t fully understand what I should be looking for. However, for now at least, the address is back to what it should be – https://www.deboradale.com/blog1 – and it’s no longer redirecting to my RSS feed.

    Thank you, again. Hopefully, this is the end of this problem.

    Thread Starter nyauthor

    (@nyauthor)

    I will add the closing </html> to my theme’s footer.php. thank you for noticing that.

    What signs of a hack should I look for in my template files?

    Thread Starter nyauthor

    (@nyauthor)

    Okay. I tried several of the options on the link you provided and it finally worked! Yea me.

    Thank you so much for answering so quickly. I still don’t know why this happened but at least now I know how to fix it should it happen again.

    Thread Starter nyauthor

    (@nyauthor)

    Thanks, Samuel. I’ll have to get help understanding everything on that link. I didn’t even understand the ‘alert’ message.

    Meanwhile… would you have any idea why/how the address changed in the first place and if it can be changed back the same way?

    Thread Starter nyauthor

    (@nyauthor)

    I did exactly that and they just replied saying they’d experienced some technical difficulties that were now fixed. I checked and, so far, my comment option is working again. I wonder if everyone else with this issue needs to contact their host. ???

    Thank you RVoodoo and t31os_ for replying to my pleas for help.

    Thread Starter nyauthor

    (@nyauthor)

    I tried three different themes – Connections Reloaded, Close to Attraction and Lunatic Fringe but had the same issue with each and am now back to my original theme, Aesthete.

    I contacted the creator of Aesthete and, in case it helps, this is what he had to say…

    “This is not “programming error”, this is the web server response “error 405 – method not allowed”. The comment form uses POST method. So I suppose that your hosting provider does not allow the method. Try talking to your hoster.”

    I’m embarrassed to say I don’t know what that means.

    Thread Starter nyauthor

    (@nyauthor)

    The suggestions on that thread are too far beyond my understanding.

    Considering how widespread this issue is – there are so many threads about it – couldn’t it be a glitch within the WordPress system that WordPress can somehow correct?

    Thread Starter nyauthor

    (@nyauthor)

    Thank you. I will look at those suggestions.

    About testing another theme… this one was working fine until recently but I have since noticed there is an upgrade for it. I will do that as well.

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