Support ForumChnge default post backgorund color and default post format – Support Forum https://support.ishyoboy.com/forums/topic/chnge-default-post-backgorund-color-and-default-post-format/feed Thu, 26 Dec 2024 19:25:26 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/chnge-default-post-backgorund-color-and-default-post-format/#post-2878 <![CDATA[Chnge default post backgorund color and default post format]]> https://support.ishyoboy.com/forums/topic/chnge-default-post-backgorund-color-and-default-post-format/#post-2878 Fri, 20 Jun 2014 14:07:15 +0000 lvmaster Hello again.

I’d like to define one background color as default so in every post, if I don’t set any background color, it will be used, instead of using none.

Also I’d like to do this to the Post type(format), I want to set the “Image Post” as default.

Can you help me on that?!

]]>
https://support.ishyoboy.com/forums/topic/chnge-default-post-backgorund-color-and-default-post-format/#post-2883 <![CDATA[Reply To: Chnge default post backgorund color and default post format]]> https://support.ishyoboy.com/forums/topic/chnge-default-post-backgorund-color-and-default-post-format/#post-2883 Mon, 23 Jun 2014 04:34:26 +0000 IshYoBoy Hi lvmaster,

Unfortunately this cannot be set from theme options and you will have to do some code modifications.

1. Set the default Background color for a post

We set this here:
wp-content\themes\boldial\assets\framework\wp\posts\custom-meta-boxes.php

Mainly on line 172 – 177. You can enter “color7” in the “default” field. Please note this setting will not work on already created posts. You will need to re-save them. It will work on new posts, once they are saved.

2. Default Post Format Image

You can use a child theme and read about this function to make it happen!
https://codex.wordpress.org/Function_Reference/set_post_format

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/chnge-default-post-backgorund-color-and-default-post-format/#post-3058 <![CDATA[Reply To: Chnge default post backgorund color and default post format]]> https://support.ishyoboy.com/forums/topic/chnge-default-post-backgorund-color-and-default-post-format/#post-3058 Thu, 26 Jun 2014 11:39:09 +0000 lvmaster Tks, it works, but setting the default post format it’s easier then using a child theme. On Dashboard > Settings > Writing, there is an option to set the default post format.
Anyway, thanks for your support man.

]]>
https://support.ishyoboy.com/forums/topic/chnge-default-post-backgorund-color-and-default-post-format/#post-3065 <![CDATA[Reply To: Chnge default post backgorund color and default post format]]> https://support.ishyoboy.com/forums/topic/chnge-default-post-backgorund-color-and-default-post-format/#post-3065 Thu, 26 Jun 2014 15:40:40 +0000 IshYoBoy Hi Ivmaster,

Haha :D This is a developer versus regular user point of view. You are right indeed! It’s much easier than via child theme. Thanks for sharing!

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>