> For the complete documentation index, see [llms.txt](https://manual.soldpress.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.soldpress.com/soldpress_developer_framework/theme_framework.md).

# Theme Framework

The following action filters are available.

| SOLDPress\_widget\_title                  |   |   |
| ----------------------------------------- | - | - |
| SOLDPress\_no\_listings                   |   |   |
| SOLDPress\_template\_single\_start        |   |   |
| SOLDPress\_template\_single\_end          |   |   |
| SOLDPress\_template\_archive\_start       |   |   |
| SOLDPress\_template\_archive\_end         |   |   |
| SOLDPress\_show\_page\_title              |   |   |
| SOLDPress\_page\_title                    |   |   |
| SOLDPress\_footer\_powered\_title\_filter |   |   |
| SOLDPress\_show\_page\_powered            |   |   |

Version 1.3 Template Engine Default Filters

You can override the sp\_property\_single.php and sp\_property\_archive.php page if you would like a new look and feel.

You can override specific files from the default theme by placing them in to custom developer plugin directory, for example if you want to override slideshow.

Copy the sp\_property\_slideshow\.php and modify the file.

| SOLDPress\_include\_template                                             | Used to set template path                                     |                         |
| ------------------------------------------------------------------------ | ------------------------------------------------------------- | ----------------------- |
| SOLDPress\_locate\_template                                              | Used to locateTemplate path                                   |                         |
| SOLDPress\_template\_property\_script\_filter                            | used to load sp\_property\_scripts.php                        |                         |
| SOLDPress\_template\_property\_slideshow\_filter                         | used to load sp\_property\_slideshow\.php                     |                         |
| SOLDPress\_template\_archive                                             | used to load sp\_property\_archive.php                        |                         |
| SOLDPress\_template\_single                                              | used to load sp\_property\_single.php                         |                         |
| SOLDPress\_template\_property\_header\_filter                            | used to load sp\_property\_header.php                         |                         |
| SOLDPress\_template\_property\_footer\_filter                            | used to load sp\_property\_footer.php                         |                         |
| SOLDPress\_template\_property\_mls\_data\_footer\_filter                 | used to load sp\_property\_mls\_footer.php                    |                         |
| SOLDPress\_template\_property\_single\_content\_main\_filter             | used to load section/sp\_property\_main\_section.php          |                         |
| SOLDPress\_template\_property\_single\_content\_main\_shortcode\_filter  | used to load section/sp\_property\_main\_section.php          |                         |
| SOLDPress\_template\_property\_single\_content\_aside\_filter            | used to load section/sp\_property\_main\_aside.php            |                         |
| SOLDPress\_template\_property\_archive\_content\_main\_filter            | used to load section/sp\_property\_main\_section\_archive.php |                         |
| SOLDPress\_template\_property\_archive\_content\_main\_widget\_filter    | used to load section/sp\_property\_main\_section\_archive.php |                         |
| SOLDPress\_template\_property\_archive\_content\_main\_shortcode\_filter | section/sp\_property\_main\_section\_archive.php              | The listings main page. |
| SOLDPress\_template\_property\_archive\_content\_aside\_filter           | section/sp\_property\_main\_aside\_archive.php                | The listings sidebar.   |
| SOLDPress\_template\_property\_archive\_grid\_filter                     | used to load section/archive-grid.php                         |                         |
| SOLDPress\_template\_property\_archive\_map\_filter                      | used to load section/archive-map.php                          |                         |
| SOLDPress\_template\_property\_archive\_list\_filter                     | used to load section/archive-list-loop.php                    |                         |
| SOLDPress\_template\_property\_archive\_list\_filter                     | used to load section/archive-list.php                         |                         |
| SOLDPress\_template\_property\_archive\_list\_filter                     | used to load aside/feature-property.php                       |                         |
| SOLDPress\_template\_feature\_property\_shortcode\_filter                | used to load aside/feature-property.php                       |                         |
| SOLDPress\_template\_property\_map\_filter                               | used to load section/sp\_property\_map\_section.php           |                         |
| SOLDPress\_template\_search\_widget\_filter                              | used to load aside/search-form.php                            |                         |
| SOLDPress\_template\_search\_shortcode\_filter                           | used to load aside/search-form.php                            |                         |

| SOLDPress\_list\_template\_start        | Used for Property Table Rendering |   |
| --------------------------------------- | --------------------------------- | - |
| SOLDPress\_list\_template\_end          | Used for Property Table Rendering |   |
| SOLDPress\_table\_room\_template\_start |                                   |   |
| SOLDPress\_table\_room\_template\_end   |                                   |   |

Search Widget

| SOLDPress\_search\_before\_widget |
| --------------------------------- |
| SOLDPress\_search\_before\_title  |
| SOLDPress\_search\_after\_title   |
| sp\_search\_after\_widget         |

Query

| SOLDPress\_archive\_query |   |   |
| ------------------------- | - | - |

The following actions are available.

| SOLDPress\_before\_template\_part | Occurs before template is being located. |   |
| --------------------------------- | ---------------------------------------- | - |
| SOLDPress\_after\_template\_part  | Occurs after template is been located.   |   |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://manual.soldpress.com/soldpress_developer_framework/theme_framework.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
