Forum Replies Created

Viewing 15 replies - 1 through 15 (of 116 total)
  • Thread Starter nikola797992

    (@nikola797992)

    I am not using any shortcode on my homepage. I created an empty page with EDD-Pagination template which I set to be my homepage. When that page is not a homepage it functions normally.

    Thread Starter nikola797992

    (@nikola797992)

    Yes I can add that shortcode and add other options ( sort by date and title ) on widget area, but I want my homepage to look like downloads page. Go to my website and just add “downloads” in url and see how I want it to look.

    Thread Starter nikola797992

    (@nikola797992)

    I want to set download page to be my homepage but wihout changing the permalink, but to remain the functionality of downloads page.
    For example if I set downloads page to be a homepage, sort by title price or date doesn’t work, it only works if the permalink has downloads in it https://example.com/downloads/?orderby=pricedesc&order=desc – not with https://example.com/?orderby=pricedesc&order=desc
    Is there a solution to this?

    Thread Starter nikola797992

    (@nikola797992)

    Ok, I thought maybe I need to add a code for doing this, I think this is for someone who knows permalinks well.

    Forum: Fixing WordPress
    In reply to: Adding html tag
    Thread Starter nikola797992

    (@nikola797992)

    I have managed to do it with “Insert Headers and Footers” plugin but it didn’t work. Thanks for the help anyway.

    Forum: Fixing WordPress
    In reply to: Adding html tag
    Thread Starter nikola797992

    (@nikola797992)

    The theme isn’t the problem I don’t how to add it even on the free theme.
    I will change my theme to Twenty Fifteen so you can help me.

    Forum: Fixing WordPress
    In reply to: WordPress > Error
    Thread Starter nikola797992

    (@nikola797992)

    I have managed to install wordpress manually. The problem was that I couldn’t connect to the server, but my hosting gave me what to use as the host cause it’s a little different in my hosting.
    Thanks for the tutorial for manual update.
    Case solved

    Forum: Fixing WordPress
    In reply to: WordPress > Error
    Thread Starter nikola797992

    (@nikola797992)

    I can’t login ( connect) to my website ( server ) with filezilla
    I have the documentation
    FTP Username:
    FTP server:
    FTP & explicit FTPS port:
    but it won’t login ( connect ) to the website ( server )

    Forum: Fixing WordPress
    In reply to: WordPress > Error
    Thread Starter nikola797992

    (@nikola797992)

    I already tried doing the process you mentioned above, but it didn’t work. The purpose of of the tutorials you linked to is to upload wordpress 5.3 files manually. But I didn’t get to that part because I can’t login to my website with filezilla.

    Forum: Fixing WordPress
    In reply to: WordPress > Error
    Thread Starter nikola797992

    (@nikola797992)

    I already tried uploading files to my database with filezilla but it won’t login to mysql.

    Forum: Fixing WordPress
    In reply to: WordPress > Error
    Thread Starter nikola797992

    (@nikola797992)

    Nothing, maybe it’s because of the wordpress 5.3 update. But my site didn’t manage to automatically update to 5.3 it stayed on previous version. Maybe it crashed after an unsuccessful update. And I know my theme doesn’t support 7.3 php but when I roll back to 5.6 I still can’t access admin page, the error happened before I changed my sites to 7.3 php but maybe 5.3 version of worpdress forces higher versions of php.

    Thread Starter nikola797992

    (@nikola797992)

    I have created a cron in cpanel like this –
    cd /home/username/public_html; /usr/local/bin/php -q wp-cron.php
    I did that using this tutorial – https://www.a2hosting.com/kb/installable-applications/optimization-and-configuration/wordpress2/configuring-a-cron-job-for-wordpress
    But I don’t know if that covers all my subdomains?

    Thread Starter nikola797992

    (@nikola797992)

    My js files are arranged like this

    js folder
    classie.js
    comment-form-validation.js
    hoverIntent.js
    jquery.easing.1.3.js
    jquery.navgoco.js
    jquery.owlsettings.js
    jquery.validate.pack.js
    modernizr.custom.js
    overlay.js
    selectnav.js

    And here’s the code from comment-form-validation.js

    jQuery(function($) {
    var errorContainer = $(“<div class=’error’>Validation errors occurred. Please confirm the fields and submit it again.</div>”).appendTo(“#commentform”).hide();
    var errorLabelContainer = $(“<div class=’error errorlabels’></div>”).appendTo(“#commentform”).hide();
    $(“#commentform”).validate({
    rules: {
    author: “required”,
    email: {
    required: true,
    email: true
    },
    url: “url”,
    comment: “required”
    },
    errorContainer: errorContainer,
    errorLabelContainer: errorLabelContainer,
    ignore: “:hidden”
    });
    $.validator.messages.required = “”;
    $.validator.messages.email = “» ” + $.validator.messages.email;
    $.validator.messages.url = “» ” + $.validator.messages.url;
    });

    Thread Starter nikola797992

    (@nikola797992)

    And I have 2 errors in theme style.css (There are 2 errors which must be fixed before you can update this file. Update anyway, even though it might break your site?)
    but I doubt this blocks comments.
    I put the code inside php file on the page I gave you but I’ll put the code here since I am going to sleep so I’ll delete the file.

    This is the code for functions theme-scripts.php

    <?php
    // Exit if accessed directly
    if ( !defined( ‘ABSPATH’ ) ) exit;

    if ( !class_exists( ‘tws_themesScripts’ ) ) :

    class tws_themesScripts{

    function __construct(){

    add_action( ‘init’, array( $this, ‘register_scripts’ ));

    add_action( ‘wp_enqueue_scripts’, array( $this , ‘enqueue_styles’ ) , 1 );

    add_action(‘wp_enqueue_scripts’, array( $this , ‘enqueue_scripts’ ));

    }

    /* Registers all scripts
    *
    * @access public
    * @return void
    */
    function register_scripts(){
    wp_register_style( ‘tws-opensans’, ‘//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic’ , array(), ‘1.0’ , false );
    wp_register_style( ‘tws-montserrat’, ‘//fonts.googleapis.com/css?family=Montserrat:400,700’ , array(), ‘1.0’ , false );

    wp_register_script(‘easing’, get_template_directory_uri().’/js/jquery.easing.1.3.js’, array(‘jquery’),’1.0′, true );
    wp_register_script(‘hover’, get_template_directory_uri().’/js/hoverIntent.js’, array(‘jquery’),’1.0′, true );
    wp_register_script(‘commentvaljs’, get_template_directory_uri().’/js/jquery.validate.pack.js’, array(‘jquery’),’1.0′, true );
    wp_register_script(‘commentval’, get_template_directory_uri().’/js/comment-form-validation.js’, array(‘jquery’),’1.0′, true );
    wp_register_script(‘selectnav’, get_template_directory_uri().’/js/jquery.navgoco.js’, array(‘jquery’),’1.0′, true );
    wp_register_script(‘selectmenu’, get_template_directory_uri().’/js/selectnav.js’, array(‘jquery’),’1.0′, true );
    wp_register_script(‘modernizr’, get_template_directory_uri().’/js/modernizr.custom.js’, array(‘jquery’),’1.0′, true );
    wp_register_script(‘classie’, get_template_directory_uri().’/js/classie.js’, array(‘jquery’),’1.0′, true );
    wp_register_script(‘overlay’, get_template_directory_uri().’/js/overlay.js’, array(‘jquery’),’1.0′, true );
    wp_register_script(‘owlsettingsoverride’, get_template_directory_uri().’/js/jquery.owlsettings.js’, array(‘jquery’),’1.0′, true );
    }

    /**
    * Enqueue Theme Styles
    *
    * @since 1.0
    * @access public
    * @return void
    */
    function enqueue_styles() {
    if (is_admin()) {
    return;
    }

    if (!is_admin()) {
    //Load the main style.css
    wp_enqueue_style( ‘tws-opensans’ );
    wp_enqueue_style( ‘tws-montserrat’ );
    }
    }

    /**
    * Enqueue all frontend scripts
    *
    * @since 1.0
    * @access public
    * @return void
    */

    function enqueue_scripts() {
    if (is_admin()) {
    return;
    }

    // If we’re not in admin, lets do fun stuff
    if (!is_admin()){
    wp_enqueue_script( ‘jquery’);
    wp_enqueue_script( ‘easing’ );
    wp_enqueue_script( ‘owlsettingsoverride’ );
    wp_enqueue_script( ‘hover’ );
    wp_enqueue_script( ‘commentvaljs’ );
    wp_enqueue_script( ‘commentval’ );
    wp_enqueue_script( ‘selectnav’ );
    wp_enqueue_script( ‘selectmenu’ );
    wp_enqueue_script( ‘modernizr’ );
    wp_enqueue_script( ‘classie’ );
    wp_enqueue_script( ‘overlay’ );
    }

    }

    }//end class

    endif;

    $tws_themes_scripts = new tws_themesScripts();

    ?>

    • This reply was modified 5 years, 6 months ago by nikola797992.
    Thread Starter nikola797992

    (@nikola797992)

    So you clicked at the file I put on the page named php?

Viewing 15 replies - 1 through 15 (of 116 total)