how I can make master page in Joomla, I need that to be same in all the pages and the content part has to change it
I think master page of your wish would be the index.php page of your template.
Add your theme template by adding required joomla configuration, upload that template and make it as default site template.
You are ready to use it's index.php as your master page.
Add you can add your dynamic content in the same page.
I wish this will be useful to you.
Related
I have wordpress and am using Elementor editor. I have added a page that is meant to be a template for each new pages. I added a block with breadcrumbs to this page. I want this page with breadcrumbs on evey new page that i create. Copying this page all the time creates problems, e.g. if I wanted to change something in this block so I must do this on every subpage. I do not know how to do it - all i want its one static page with that breadcrumbs that includes to every new page i create, and when im change something in this page, changes will appear on every page.
Help :( Photo below
https://i.stack.imgur.com/G1EyI.png
Use the "Template" block in Elementor
That is achievable with Elementor Pro using theme builder option.
Create that template as a single page template and then in display options choose to display it on all pages.
Creating a Single Page Template with Elementor Pro
Then you should use standard page editor or custom fields to put content that is then going to be rendered by the template.
Doing that will let you make changes on all pages at once by editing the template.
I am a WordPress dev and I've been asked add a new page to a Drupal site by a friend of mine. The version is 7.56.
This is a login page and its header/footer have to be different from the rest of the site.
I have the HTML/CSS code for the entire page and this has to be added in.
I have added the login forms and those are styled accordingly. Now how to I replace the header and footer?
If this was wordpress I'd create a new template file and remove calls to get_header() and get_footer(), how do I do the same with Drupal?
Create a file for your login page to customize it(put it in your theme directory). its template default name is page--user--login.tpl.php .( simpler solution is to duplicate page.tpl.php file, and rename it to page--user--login.tpl.php and customize markup)
then create two files
login-header.inc
login-footer.inc
put your markups there
then just include_once('login-header.inc') and include_once('login-footer.inc')
don't forget, clear the cache to it applied.
I need to add a page to a wordpress site. However, for legal reasons, the page cannot be placed in/managed by wordpress as we are not allowed to make any changes to the page or it's content. How can I add this page to our site, but keep it outside wordpress management.
Odd request, but here's one idea:
Create a page template with no dynamic content from the post, load this content into it. The only way to edit the file would be through raw code. Anything entered into the post/page content area would not appear.
I am creating my first WordPress theme with a one-page parallax scrolling style.
I have created my entire website (statically) in the index.php file. It works fine if I set the Admin->Reading setting to 'Your Latest Posts'.
But now I am trying to create a separate page for the blog so I did the following:
I created a file, page.php, with the standard blog page code and gave it a template name.
I set the Blog page on wordpress to use the Blog template.
All other pages (i.e. home, about us, etc.) are set to use default
page template (which should be index.php right?)
I set the Reading settings to Front Page: Home and Posts Page: Blog
All I get is the blog page template for all pages (as if it were the default page template).
How to set up a website like this?
index.php should really be your blog template not your static home page. Make a copy of page.php to page-home.php (or whatever you've named your front page), then put the static content in there. You probably won't even need to assign the template to the page - WordPress will do that automatically based on the file name.
By default, page.php is used for all static pages, index.php is used for whatever you've assigned as your blog page in the "Reading" section of the dashboard. index.php is also the template of last resort, which will be used if WordPress can't find any other appropriate template files.
I didn't think I would encounter this kind of problem in creating a static front page because this seems to be a very trivial customization of wordpress. I am using Thematic as my parent theme. I created a home.php template and pasted the code from the parent's page template into it. I also created two new blank pages named Home and Blog. I set home.php as the template for page Home. Then I went to Settings->Reading and set my front page to a static page and selected page Home. I also set posts page to page Blog. Now when go to my Blog page, I only see a single post?
What is set for "Blog pages show at most" in Settings>>Reading? Do you have more than one post?