
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Convert static HTML/CSS into dynamic Wordpress themes and templates
Usage: htmlpress [options] [command]
Commands:
help Display help
version Display version
Options:
-4, --404 get 404 page (enabled by default)
-c, --clean strip processed data attributes when possible (enabled by default)
-d, --debug show debugging info (disabled by default)
-h, --help Output usage information
-m, --modules <list> modules to use (defaults to ["core","wordpress","acf"])
-o, --output [value] directory to save theme to (defaults to "./")
-p, --pages <list> page url or file paths to parse (defaults to ["/"])
-r, --root root path or url (required)
-s, --sitemap [value] use xml to find pages (defaults to "/sitemap.xml")
-T, --test dry run - don't write files (disabled by default)
-t, --theme-name [value] name of the theme (defaults to "Custom Theme")
-v, --version Output the version number
-w, --webflow is a Webflow-based site (disabled by default)
Examples:
- process remote site
$ htmlpress --root com --pages /index /single --output my-theme
Data attributes providing PHP integrations
Data attributes providing Wordpress functionality
Advanced Custom Fields integration provider
Data attributes providing PHP integrations
Print the result of php code
Kind: instance method of Core
Param | Description |
---|---|
php_code | the php code to run |
Print the result of php code
Kind: instance method of Core
Param | Description |
---|---|
php_condition | the php condition to evaluate |
Replace source attribute
Kind: instance method of Core
Param |
---|
name |
Replace style attribute
Kind: instance method of Core
Param |
---|
name |
Data attributes providing Wordpress functionality
Repeats wp-loop-result element (or else current element) for each repeater
Kind: instance method of Wordpress
See: wp-loop-result
Param | Type | Description |
---|---|---|
loop_name | ACF_Field | the name of the repeater field |
conditionally repeat this element for each repeater entry
Kind: instance method of Wordpress
Param | Type | Description |
---|---|---|
condition | PHP_Expression | true, or a PHP conditional to evaluate |
Render child tags according to links in a Wordpress Menu
Kind: instance method of Wordpress
Param | Type | Description |
---|---|---|
menu | WP_Menu_Name | test |
Wordpress PHP template file
Kind: instance method of Wordpress
Param |
---|
name |
Advanced Custom Fields integration provider
Register block under block_name and render this content
Kind: instance method of ACF
Param | Description |
---|---|
block_name | User-friendly block name to register |
Render element according to the given ACF field
Kind: instance method of ACF
Param | Type | Description |
---|---|---|
field_name | ACF_Field | the name of the repeater field |
Repeats acf-repeater-row element (or else current element) for each repeater
Kind: instance method of ACF
See: acf-repeater-row
Param | Type | Description |
---|---|---|
field_name | ACF_Field | the name of the repeater field |
conditionally repeat this element for each repeater entry
Kind: instance method of ACF
Param | Type | Description |
---|---|---|
condition | PHP_Expression | true, or a PHP conditional to evaluate |
FAQs
Convert static HTML/CSS into dynamic Wordpress themes and templates
The npm package htmlpress receives a total of 0 weekly downloads. As such, htmlpress popularity was classified as not popular.
We found that htmlpress demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.