2025-11-08 13:27:26
For words in the theme that need translation, add translation files in themes/your_theme_name/language. Name the files {language code}.php (e.g., en.php, fr.php). To find language codes, check assets/ ...
2025-11-08 13:27:15
SucShop lets you add featured images to post-type pages. You can choose whether to show the featured image on archive pages (category/tag/keyword search results). To show featured images, refer to the ...
2025-11-08 13:27:01
The top menu variable is $menuArr. Its format is: [ { "name": "MUST, name of menu", "url": "MUS ...
2025-11-08 13:26:42
Variable Name Description Field $postList Post list (with pagination) Same as blog.tpl $totalPage Total pages for post list pagination Same as blog.tpl $pageParam Archive ...
2025-11-08 13:26:28
Variable Name Description Field $postList Post list (with pagination) array( 0 => array( 'id' &n ...
2025-11-08 13:26:08
Variable Name Description Field $pageData Page data (page-type content) array( 'id' => '', 'title' => '', 'content' => ...
2025-11-08 13:25:48
Variable Name Description Field $postData Post data (array) array( 'id' => '', 'title' => '', 'content' => '', 'excerpt' => '', 'slug' =& ...
2025-11-08 13:25:17
Variable Name Description $baseUrl Domain name $lang Current language code (e.g., en, ja, fr) $theme Enabled theme name $title Page title $tr Array of translated wo ...
2025-11-08 13:25:00
Designing a theme is all about showing SucShop’s variables (data) as you want. For example, showing $siteName (website name) in the top left or center. SucShop provides the following variables. ...
2025-11-08 13:24:48
These files are required—SucShop will report an error if they’re missing: l home.tpl l post.tpl l page.tpl l archive.tpl l blog.tpl l 404.tpl For home.t ...