Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi, login to your wp goto Settings->Reading section. and check the number of blog post(Blog pages show at most) set it to your, desired number.

    Forum: Plugins
    In reply to: [Social] Social issues

    Try this one.
    http://vivalaviolette.com/simple-social-icons-plugin-tutorial/

    This will solve the ajax problem. And feel free to ask for further help if needed!

    yes with the code above if you upgrade the theme the changes will be lost.

    However if you wish to add a child theme to your wordpress.
    The structure will be like this.
    themes/yourtheme/
    themse/yourtheme-child/

    in(themse/yourtheme-child/) you must add style.css with following code.

    /*
     Theme Name:     Your Theme Name
     Theme URI:      http://example.com/ Your Theme URI/
     Description:    Your Theme Description
     Author:         ABC
     Author URI:     http://example.com
    */
    
    @import url("../yourtheme/style.css");
    
    /* =Theme customization starts here
    -------------------------------------------------------------- */

    And to add the shortdcode mentioned in my previous comment also create (themse/yourtheme-child/functions.php) Unlike style.css, the functions.php of a child theme does not override its counterpart from the parent. Instead, it is loaded in addition to the parent’s functions.php.

    If you still need help you are welcome!. oR Kindly Set the Topic status to resolved 🙂

    function change_style( $atts, $content = null ) {
    	extract( shortcode_atts( array(
    		'class' => 'myCustomstyling', // class name in css
    		'link' => '1', // link to pdf
    
    	), $atts ) );
    
    	return '<span class="'.$class.'"><a href="'.$link.'">' . $content . '</a></span>';
    }
    add_shortcode( 'bigfont', 'change_style' );

    //put the above code to your functions file
    //put the live below in editor, this will not effect the sryling and add the custom style name to your style sheet too and define what ever style you want.
    [bigfont class=heading link=http://linktopdf.com]Apple[/bigfont]

    if you are doing this for front-end facing then logout from your wp admin panel first, cause when you are logged in to admin it creates an admin type session, and if issue still persist then try to debug your code.

    Try it 😉
    Thanks

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