Need help tt3 theme
-
there is no function.php in twenty twenty theme so how can i add function.php in tt3 in wp–content ?
-
Hi @karthickdeveloperwp the Twenty Twenty-Three theme is a block-based theme that comes with a Site editor that allows you to design the entire site including the header, footer, and everything in between, with blocks.
This means the themes file structure is different and you will not see the functions.php file, may I ask what you want to do in this file?
There might be another way to do it.i need to create custom theme option and also to link my css nd js file in tt3 theme thats y im asking
thats means need to create custom theme option and to link my custom css and js file
thats means need to create custom theme option and to link my custom css and js file
Hi @karthickdeveloperwp if you can add custom code to your site using plugins such as WPCode and CodeSnippets.
You can access the CSS editor by adding this after your URL
/wp-admin/customize.phpand visiting the Additional CSS panel.Thanks a lot @thelmachido finally i have doubt if i add post type php code means how can i add in this php code in this editor bcz now tt3 now fully block based so how can i add php codes in editor?
Hi @karthickdeveloperwp you can try the PHP code to see if it still works, you could be right about needing a different kind of function to get the results you want to achieve. This is all depends on the post type you want to create.
However, with this theme, you can create templates for different post types in the way you want without code. You have the ability to change how things look on any page by using the Editor and its Templates.
For example, there is the Query Loop block which you can use to display any kind of post, you can filter the posts that are displayed and you can even change how the posts are displayed within the loop using blocks. This is quite popular in creating Portfolios.Additionally, on ww.wp.xz.cn Patterns folks have shared patterns you can also use as templates for your site.
Can you answer this?
can i add function.php in tt3 in wp–content ?Thank you
Hi @tiarita
can i add function.php in tt3 in wp–content ?
There won’t be a way to edit functions.php directly but, to be honest, that’s not an approach I’d usually recommend anyway.
To echo what @thelmachido has already mentioned – the best way to include the PHP code you need would be through a plugin like WPCode and CodeSnippets.
The topic ‘Need help tt3 theme’ is closed to new replies.
