1. Home
  2. 내 계정
  3. 숏코드 가이드
  4. 공통 파라미터
  5. 숏코드 테마 가이드

숏코드 테마 가이드

1. 테마 색상

theme : 템플릿 색상을 설정할 수 있으며, 제공되는 값은 아래와 같습니다. 기본값은 default 입니다.

default , red , green , yellow , blue , ultimate Gray , gray , black , orange , purple

 

색상 예시는 아래를 참고해 주시기 바라며, 새로운 색상을 추가하시려는 경우 아래의 2. 템플릿 theme 커스텀마이징 섹션을 참고해 주시기 바랍니다.

[msma_navigation template=”type-b” theme=”orange”]

  • 워드프레스_내계정플러그인_테마색상_오렌지_코드엠샵

[msma_user_info template=”type-b” theme=”red”]

  • 워드프레스_내계정_테마색상_레드_코드엠샵

[msma_progress_oreders template=”type-b” theme=”blue”]

  • 워드프레스_내계정플러그인_테마색상_블루_코드엠샵

[msma_recent_orders template=”type-b” theme=”green”]

[msma_recent_subscriptions template=”type-c” theme=”purple”]


자사몰 색상에 맞춰 템플릿 색상을 변경 하려는 경우 아래 코드를 차일드 테마의 functions.php 에 추가하여 이용해 주시기 바랍니다.

function msma_my_custom_theme($themes) {
    $themes['red_theme'] = array(
        'label' => 'Custom Red',
        'color' => '#ff0000',
        'filter' => 'invert(90%) sepia(80%) saturate(2604%) hue-rotate(336deg) brightness(97%) contrast(102%)'
    );

    return $themes;
}
add_filter('msma_get_themes', 'msma_my_custom_theme');

– 중요

사이트에서 차일드 테마를 이용하고 있지 않은 경우 활성화된 테마로 복사하여 주시기 바랍니다.

다만, 부모 테마에서 커스텀마이징 할 경우 테마 업데이트 시 작업한 내용이 초기화 되므로 작업 내용을 백업하거나, 차일드 테마에서 작업하는 것을 권장하고 있습니다.

Was this article helpful to you? Yes No