Set a default config for General Post Options, and Portfolio Options.

pending (5 posts) (2 voices)

  1. Victorross
    Member

    Hi again, another short question.
    All my post have the same configuration, here i show you 2 images with the configuration that i would like to set by default.

    Awake General Post Options

    (i always use the "Sponsors" Sidebar)

    Awake Portfolio Options

    (i always check "Standart Portfolio Post Layout" and "Disable Read More Link")

    Please if anyone can help me to set this by default so i do not have to select "Sponsors" and check the portfolio options every time i publish a post will be very helpful.

    Thanks for the great support!
    Cant wait for new theme!!!
    (harry up please)
    See you!

    Attachments

    1. config-2.jpg (13.3 KB, 0 downloads) 1 year old
    2. config-1.jpg (11.4 KB, 0 downloads) 1 year old
    Posted 1 year ago #
  2. Elliott
    Support

    Hello Victorross,

    The easiest way would be to just use the default sidebar so you do not have to check the sponsors one.

    For the portfolio layout open up /wp-content/themes/awake/single.php and on line 8 you should see this,

    if($portfolio_post && !$portfolio_layout){
    	return require(WEBTREATS_INCLUDES . "/template-portfolio-single.php");
    }else{

    Change it like this,

    if($portfolio_post){
    	return require(WEBTREATS_INCLUDES . "/template-portfolio-single.php");
    }else{

    For the read more button open up /wp-content/themes/awake/lib/functions/shortcode.php and on line 141 you should see this,

    if(!$read_more_disable){ $out .= '[raw]<a class="fancy_link" href="' .$permalink. '"><span>Read More</span></a>[/raw]'; }

    You can delete that line to get rid of the read more button. If your using the full portfolio then do the same thing on line 152.

    Let us know if this works for you Victorross.

    Posted 1 year ago #
  3. Victorross
    Member

    Thanks! That help me to save some time.
    See you!

    Posted 1 year ago #
  4. Victorross
    Member

    When i change the single.php it doesnt show the sidebar.
    Any help?

    Posted 1 year ago #
  5. Elliott
    Support

    Are you sure you have some widgets set on your "Primary Widget Area"?

    If possible then send us a link to your site so we can take a closer look.

    Posted 1 year ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme