Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter RJ_Dev

    (@rj_dev)

    Don’t know what I did but for some reason the website is working properly now.

    Thread Starter RJ_Dev

    (@rj_dev)

    Hi John,

    This is the final stage of the website where I would really appreciate some help. The BLOG page uses the Parent Theme whereas rest of the pages use the Child Theme, in the Child Theme I’ve created a functions.php file where I’m enqueuing custom stylesheets, scripts, etc. The problem is the parent theme styles aren’t taking effect in the blog page unless I enqueue them in the Child Theme’s functions.php file. Do you have any idea why this is happening?

    This is the blog page link:-

    TAA

    Thanks

    Thread Starter RJ_Dev

    (@rj_dev)

    Hi John, please help me with a small doubt, here is the setup:-

    – The WordPress Theme from ThemeForest which the client needs for the Blog page is the Parent Theme.
    – The Custom Design which is in HTML and which I’m converting to WordPress is the Child Theme and following is the style.css template code.

    /*
    Theme Name: TAA Theme
    
    Template: blogist
    */

    – In the Child Theme’s style.css file I’ve added the custom style properties but the problem is some of the styles from the parent theme seems to interfere with my custom styles.

    So kindly let me know how to block the Parent Theme styles.

    Regards,
    Raj

    Thread Starter RJ_Dev

    (@rj_dev)

    Thanks, I appreciate your help. Will update soon.

    Thread Starter RJ_Dev

    (@rj_dev)

    Thanks jberghem for explaining it in such detail. I’m not familiar with child themes but will definitely give it a try. The work will be done probably within a week, so please do follow up on this if I have any more queries.

    Thread Starter RJ_Dev

    (@rj_dev)

    Hi Evan,

    Thanks for helping me out, I tried your solution but sorry it didn’t work, I enqueued the jQuery UI script from the js directory of my theme and it works, the accordion, dialog box, etc.

    wp_enqueue_script('jquery-ui-script', get_template_directory_uri(). '/js/jquery-ui.min.js', array('jquery'), '', true);

    I also tried this code but didn’t work.

    wp_enqueue_script('jquery');
    wp_enqueue_script('jquery-ui-core');

    If possible kindly let me know why I can’t make the wordpress provided jquery-ui to work.

    Thread Starter RJ_Dev

    (@rj_dev)

    Thank You So Much WPMU DEV, that worked perfectly, thanks for your time.

    For those who are facing similar problem, I’ll explain it in a bit more detail, basically the Custom Sidebars works only when each sidebar area is assigned a default sidebar content. So the process is:-

    Step 1:- Register the Sidebar areas in functions.php

    <?php
    if (function_exists('register_sidebar') ) {
    	register_sidebar(array(
    		'name' => 'Primary Sidebar',
    		'id' => 'primary-sidebar',
    	));
    }
    ?>

    Step 2:- In Appearance > Widgets – Create some widgets for the sidebar with the desired contents.

    Step 3:- In Appearance > Custom Sidebars:- The registered sidebar area will appear on the left column, select it first and then click on DEFAULT SIDEBARS tab > Click on By Post Type > Click on PAGES > Select a Sidebar Content (A widget created in Step 2) as default one.

    Step 4: – When you create another sidebar area, follow the previous steps, only in Step 3, in the CUSTOM SIDEBARS tab, select all the sidebar areas first > then click DEFAULT SIDEBARS > Click on By Post Type > Click on PAGES > Select a Sidebar Content as default one.

    Step 5:- Obviously you need different Default Sidebar contents for different sidebar areas, after Step 4, go again to DEFAULT SIDEBARS tab, now the second Sidebar Area will appear along with an option to set a default content.

    That’s It!

    Regards,
    Raj

    Thread Starter RJ_Dev

    (@rj_dev)

    Hi WPMU DEV,

    Thanks for helping me out, please check out the screenshots in the following link you’ll get a better understanding of the issue.

    https://www.dropbox.com/sh/3f0wdd3e0hgion5/AAB0kVCjt3ST21ahKK8yEGZSa

    Regards,
    Raj

    Thread Starter RJ_Dev

    (@rj_dev)

    Hello Esmi, I figured out the issue, I’ve created a custom theme for WordPress and the text flicker happens in Firefox only when my theme is active, when I activate the 2014 theme there is no flicker in Firefox. But the thing is when I check the dashboard in Chrome,Opera with my theme activated there is no flicker, it’s only in Firefox. I know there is that thing about registering JavaScript and Stylesheets which is the recommended method, but I just added the link in the head section so I think may be my stylesheet is interfering with the WordPress Dashboard styles.

    Thread Starter RJ_Dev

    (@rj_dev)

    I’m using Firefox 26 too on Windows 7, I’m still facing that issue. As I mentioned earlier there is no issue in Chrome and Opera but in Firefox the issue still exists. Thanks for your help Esmi, I’ll probably submit a bug report to Firefox.

    Thread Starter RJ_Dev

    (@rj_dev)

    I realized that this text flicering is a Firefox issue, I opened the dashboard in Chrome and the menu works properly. I was able to replicate this flickering effect when I bring the Developer Tool (F12) in Firefox.

    Hi Drew, I’m also one of those unfortunate people who has website hosted in Yahoo, I’ve sent an email to the customer support, if I get any feedback I’ll let you know.

    Thread Starter RJ_Dev

    (@rj_dev)

    Thanks for helping out but I don’t want to sort posts alphabetically, I want to sort it by date but in an ascending order so old posts will display first.

    Thread Starter RJ_Dev

    (@rj_dev)

    Thanks Alchymyth, really appreciate your help, I didn’t know that wordpress allowed ‘read more’ feature only in the home page. Thanks again.

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