نحوه ایجاد یک صفحه تمام عرض در وردپرس

آیا نیاز به ایجاد یک صفحه با عرض کامل در وردپرس دارید؟ یعنی صفحه ای که در آن محتوا تمام عرض سایت شما را اشغال می کند و هیچ نوار کناری وجود ندارد که مانع شود؟ متأسفانه، همه قالب‌های وردپرس دارای قالب‌های پهنای کامل خود نیستند، به همین دلیل است که شما این پست را […]

آیا نیاز به ایجاد یک صفحه با عرض کامل در وردپرس دارید؟

یعنی صفحه ای که در آن محتوا تمام عرض سایت شما را اشغال می کند و هیچ نوار کناری وجود ندارد که مانع شود؟

متأسفانه، همه قالب‌های وردپرس دارای قالب‌های پهنای کامل خود نیستند، به همین دلیل است که شما این پست را می‌خوانید.

هر چند نگران نباشید. ما قصد داریم به اشتراک بگذاریم که چگونه می توانید از یک افزونه 100٪ رایگان برای اضافه کردن یک طرح بندی با عرض کامل به هر موضوع وردپرس استفاده کنید – بدون نیاز به دانش فنی.

 

چرا برخی از تم ها شامل قالب های صفحه تمام عرض نمی شوند

هر صفحه ای که بازدید می کنید دارای قالب متفاوتی است. برخی از آنها دارای پاورقی هستند، برخی دیگر دارای بخش های قهرمان عظیم، تعدادی از آنها دارای منوهای مخفی، و طرح های بی شمار دیگری هستند. با این حال، می‌توانیم اکثر طرح‌بندی‌های صفحه را به دو دسته تقسیم کنیم: با و بدون ستون‌های کناری.

الگوهای فقط نوار کناری به شما اجازه نمی دهند از شر آن عنصر خلاص شوید. اگرچه ستون‌های کناری در بسیاری از موارد می‌توانند مفید باشند، اما یک طراحی خاص ممکن است به آن نیاز نداشته باشد. به این ترتیب، شما اغلب احساس می کنید که گیر کرده اید (یا حداقل در انتخاب موضوع خود محدود شده اید.)

اکثر تم های مدرن به شما امکان می دهند از قالب های تمام عرض برای هر یک از صفحات خود استفاده کنید. با این حال، برخی از تم ها همان سطح انعطاف پذیری را ارائه نمی دهند. این می تواند یک معامله شکن باشد، اما تغییر مضامین اغلب بیش از حد دردسر است.

برای بررسی اینکه آیا تم شما قبلاً دارای یک قالب وردپرس با عرض کامل است، یک صفحه وردپرس ایجاد یا ویرایش کنید و کشویی قالب را در زیر ویژگی های صفحه در نوار کناری گسترش دهید. اگر طرح زمینه شما از قبل دارای یک قالب با عرض کامل است، می توانید از آن استفاده کنید.

برخی از تم ها، مانند طرح زمینه رایگان Neve، همچنین تنظیمات صفحه اضافی را برای کنترل عرض صفحه به شما می دهند:

 

Example-of-full-width-page-in-WordPress

 

اگر تم شما تنظیمات داخلی را برای کنترل عرض صفحه ارائه نمی دهد، به خواندن ادامه دهید تا یاد بگیرید چگونه از یک افزونه رایگان وردپرس صفحه تمام عرض برای افزودن این ویژگی به هر تمی استفاده کنید.

نحوه ایجاد قالب با عرض کامل در وردپرس (دو روش)

استفاده از وردپرس به این معنی است که می توانید هر جنبه ای از تجربه و طراحی وب سایت خود را تغییر دهید و تم ها نیز از این قاعده مستثنی نیستند. با رویکرد مناسب، می توانید قالب های تمام عرض را به هر موضوعی اضافه کنید.

 

1. از افزونه Fullwidth Templates استفاده کنید

جای تعجب نیست که افزونه ای وجود دارد که به شما کمک می کند قالب های تمام عرض را به موضوع خود اضافه کنید.

با استفاده از افزونه وردپرس رایگان Fullwidth Templates، می توانید یک طرح بندی بدون نوار کناری، عنوان صفحه و بخش نظرات برای هر یک از صفحات یا پست های خود تنظیم کنید.

 

Fullwidth Templates plugin

 

این افزونه شامل قالب های دیگر نیز می شود. یک الگوی “بدون نوار کناری” وجود دارد که هیچ عنصر دیگری را لمس نمی کند، و اگر می خواهید از ابتدا شروع کنید، یک گزینه خالی وجود دارد.

استفاده از این افزونه آسان است – به سادگی آن را نصب و فعال کنید، و گزینه های قالب جدید در قسمت ویژگی های صفحه نمایش داده می شوند که هر صفحه یا پستی را ویرایش می کنید:

 

Page Attributes

 

قالب مورد نظر خود را انتخاب کنید و می توانید سفارشی سازی صفحه خود را شروع کنید.

برای به دست آوردن بهترین نتایج، توصیه می کنیم اگر در حال تغییر قالب صفحه هستید، طراحی خود را از ابتدا شروع کنید، زیرا این افزونه می تواند به شدت بر ظاهر صفحه موجود شما در این مورد تأثیر بگذارد.

اگر از یک افزونه صفحه ساز مانند Elementor استفاده می کنید، خوشحال خواهید شد که بدانید افزونه Fullwidth Templates به طور پیش فرض با آن سازگار است. علاوه بر این، این افزونه با بسیاری از محبوب‌ترین تم‌ها (حداقل در طول آزمایش‌های سریع ما) کار می‌کند، بنابراین بعید است که شما را دچار سردرد کند.

2. به صورت دستی یک قالب با عرض کامل به تم خود اضافه کنید

 

اگر با فایل‌های قالب کد و تم احساس راحتی نمی کنید، ما به شدت توصیه می‌کنیم از افزونه رایگان بالا استفاده کنید.

اگر نمی‌خواهید از یک افزونه استفاده کنید، می‌توانید یک فایل قالب جدید با عرض کامل برای هر تمی که استفاده می‌کنید به صورت دستی ایجاد کنید. این فرآیند ساده است، اما از شما می‌خواهد که فایل‌های موضوعی خود را سرهم کنید.

مثل همیشه، اگر می‌خواهید تغییرات عمده‌ای داشته باشید، هوشمندانه است که از یک تم کودک استفاده کنید و از وب‌سایت خود نسخه پشتیبان تهیه کنید. هنگامی که آماده شدید، در اینجا چه کاری باید انجام دهید:

 

  1. یک فایل قالب خالی در رایانه خود ایجاد کنید و آن را به عنوان full-width-template.php ذخیره کنید (به دنبال کد زیر این مراحل باشید).
  2. فایل page.php را در دایرکتوری تم فعال خود (public_html/wp-content/themes/) قرار دهید، که می توانید با استفاده از FTP به آن دسترسی داشته باشید.
  3. تمام محتویات فایل page.php را کپی کرده و بعد از هدر در full-width-template.php قرار دهید.
  4. به دنبال خط زیر در فایل full-width-template.php بگردید و آن را حذف کنید: <?php get_sidebar(); ?>.
  5. فایل full-width-template.php را در پوشه تم خود آپلود کنید.

تنها چیزی که از دست داده اید کد هدر full-width-template.php است که می توانید آن را در زیر کپی کنید:

 

 

<?php
/*
*
Template Name: Full-Width Template
*/
get_header(); ?>

به یاد داشته باشید، شما باید محتویات کامل فایل page.php را بعد از قسمت هدر قرار دهید. اگر این کار را به درستی انجام دهید، قالب شما بدون هیچ مشکلی کار خواهد کرد.

اکنون می‌توانید الگوی صفحه تمام عرض جدید خود را از بخش ویژگی‌های صفحه در ویرایشگر انتخاب کنید، مانند سایر الگوها.

218 پاسخ

  1. sugar defender ingredients For many
    years, I have actually battled unforeseeable blood sugar swings that left me feeling drained pipes
    and inactive. However considering that integrating Sugar Defender into my regular, I
    have actually discovered a substantial renovation in my general
    energy and stability. The dreadful mid-day distant memory, and I
    appreciate that this all-natural solution achieves these outcomes with no unpleasant or damaging responses.
    truthfully been a transformative discovery for me.

  2. Hello there! I could have sworn I’ve been to this website before but after going through some of the articles I realized it’s new to me. Nonetheless, I’m definitely delighted I discovered it and I’ll be bookmarking it and checking back regularly!

  3. Good day! I could have sworn I’ve visited your blog before but after browsing through some of the articles I realized it’s new to me. Anyhow, I’m definitely delighted I came across it and I’ll be book-marking it and checking back often!

  4. Hello there! I could have sworn I’ve been to this website before but after going through many of the posts I realized it’s new to me. Nonetheless, I’m definitely pleased I stumbled upon it and I’ll be bookmarking it and checking back often!

  5. Having read this I believed it was extremely enlightening. I appreciate you taking the time and energy to put this article together. I once again find myself personally spending way too much time both reading and commenting. But so what, it was still worth it.

  6. Oh my goodness! Impressive article dude! Thank you, However I am having problems with your RSS. I don’t know why I cannot subscribe to it. Is there anybody getting the same RSS problems? Anybody who knows the solution can you kindly respond? Thanx!!

  7. After looking over a number of the blog articles on your site, I seriously appreciate your technique of writing a blog. I book-marked it to my bookmark webpage list and will be checking back in the near future. Take a look at my web site as well and tell me what you think.

  8. An outstanding share! I have just forwarded this onto a co-worker who had been conducting a little research on this. And he in fact ordered me dinner due to the fact that I stumbled upon it for him… lol. So let me reword this…. Thanks for the meal!! But yeah, thanks for spending some time to discuss this subject here on your blog.

  9. I’m impressed, I have to admit. Seldom do I come across a blog that’s equally educative and engaging, and without a doubt, you have hit the nail on the head. The problem is something too few men and women are speaking intelligently about. Now i’m very happy I came across this in my search for something concerning this.

  10. The subsequent time I learn a blog, I hope that it doesnt disappoint me as a lot as this one. I imply, I do know it was my option to read, however I actually thought youd have one thing fascinating to say. All I hear is a bunch of whining about one thing that you could fix when you werent too busy in search of attention.

  11. You’re so cool! I don’t think I’ve read a single thing like this before. So nice to discover someone with a few genuine thoughts on this issue. Seriously.. many thanks for starting this up. This website is one thing that is needed on the web, someone with a bit of originality.

  12. I would like to consider the opportunity of thanking you for your professional instruction I have constantly enjoyed viewing your site. I am looking forward to the particular commencement of my school research and the entire groundwork would never have been complete without surfing your web site. If I can be of any assistance to others, I might be delighted to help as a result of what I have gained from here.

  13. Just right points?I would observe that as any individual who actually doesn’t write on blogs a lot (if truth be told, this can be my first post), I don’t think the term ‘lurker’ may be very becoming to a non-posting reader. It’s now not your fault in the least , however possibly the blogosphere could come up with a better, non-creepy identify for the ninety people that revel in reading the content .

  14. Hello! I know this is kinda off topic however , I’d figured I’d ask. Would you be interested in trading links or maybe guest writing a blog article or vice-versa? My site covers a lot of the same topics as yours and I think we could greatly benefit from each other. If you’re interested feel free to shoot me an e-mail. I look forward to hearing from you! Terrific blog by the way!

  15. There are a few interesting points in time in this posting but I do not determine if I see these people center to heart. There may be some validity but Let me take hold opinion until I take a look at it further. Very good write-up , thanks and we want much more! Included in FeedBurner likewise

  16. By the time the film tumbles along to its clumsy ending, fuelled by a particularly wince-worthy patch of deus-ex-machina and boorish repetition, any grins which might have crossed the audiences faces at first are more than liable to be replaced by frowns of irritation or indifference.

  17. After I originally left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and now every time a comment is added I recieve 4 emails with the exact same comment. Perhaps there is an easy method you are able to remove me from that service? Many thanks.

  18. I’m amazed, I must say. Rarely do I come across a blog that’s both equally educative and entertaining, and without a doubt, you have hit the nail on the head. The problem is an issue that not enough men and women are speaking intelligently about. I am very happy I stumbled across this during my hunt for something regarding this.

  19. A person necessarily lend a hand to make significantly articles I might state. This is the first time I frequented your website page and up to now? I’m amazed with the research you made to create this particular publish extraordinary. Magnificent activity!

  20. I enjoy you because of all of your efforts on this website. Kim take interest in getting into investigations and it is easy to see why. We know all concerning the dynamic mode you produce priceless ideas by means of the web blog and as well as recommend participation from some other people on this area then our own daughter is certainly becoming educated a lot of things. Take pleasure in the remaining portion of the year. You’re carrying out a splendid job.

  21. Hello there, just became alert to your blog through Google, and found that it’s really informative. I’m gonna watch out for brussels. I’ll be grateful if you continue this in future. Many people will be benefited from your writing. Cheers!

  22. There are definitely a whole lot of details like that to take into consideration. That could be a great level to convey up. I provide the thoughts above as general inspiration however clearly there are questions like the one you convey up where crucial factor will probably be working in sincere good faith. I don?t know if finest practices have emerged around issues like that, but I am positive that your job is clearly recognized as a fair game. Each girls and boys really feel the affect of just a second’s pleasure, for the remainder of their lives.

  23. The very next time I read a blog, I hope that it won’t fail me just as much as this particular one. After all, I know it was my choice to read through, nonetheless I truly believed you would have something interesting to talk about. All I hear is a bunch of complaining about something you can fix if you were not too busy looking for attention.

  24. An impressive share, I merely given this onto a colleague who had previously been performing a small analysis during this. And hubby actually bought me breakfast due to the fact I uncovered it for him.. smile. So well then, i’ll reword that: Thnx for that treat! But yeah Thnkx for spending any time go over this, I believe strongly regarding this and adore reading regarding this topic. If you can, as you become expertise, do you mind updating your site with an increase of details? It is actually highly a good choice for me. Big thumb up due to this article!

  25. I’m just commenting to let you know what a excellent discovery my cousin’s girl encountered going through your web site. She noticed several details, which include how it is like to possess an ideal coaching spirit to let others smoothly learn a number of grueling subject areas. You actually did more than visitors’ desires. Thank you for distributing these great, dependable, informative and unique tips on that topic to Tanya.

  26. This is the right weblog for wishes to be made aware of this topic. You realize so much its practically hard to argue along with you (not that I actually would want…HaHa). You actually put the latest spin with a topic thats been discussing for years. Excellent stuff, just fantastic!

  27. Howdy! I could have sworn I’ve visited this web site before but after browsing through many of the articles I realized it’s new to me. Anyhow, I’m certainly delighted I stumbled upon it and I’ll be bookmarking it and checking back frequently!

  28. Extensively, now this article is truly the best using this crucial subject matter. My spouse and i harmonise collectively findings and tend to thirstily expect to be your primary one way upgrades. Explaining kudos won’t only always be an adequate amount of, on your wonderful purity inside your crafting articles. For certain i will easily catch an individual’s feed maintain up to date of the the latest. Enlightening job and far becoming successful for your small business trades! Please justification the actual deficient Everyday terms currently far from a few initial language.

  29. Hello, very helpful posting. My sister and I have recently been looking to find detailed facts on this subject type of stuff for a while, yet we could hardly until now. Do you think you can also make a few youtube video clips about this, I do think your webblog would be far more complete in case you did. In any other case, oh well. I am going to be checking out on this web-site within the not too distant future. E-mail me to maintain me up-to-date. granite countertops cleveland

  30. Howdy! I could have sworn I’ve visited this web site before but after going through a few of the posts I realized it’s new to me. Nonetheless, I’m definitely happy I discovered it and I’ll be book-marking it and checking back regularly.

  31. Howdy, There’s no doubt that your website may be having web browser compatibility issues. When I look at your blog in Safari, it looks fine however, when opening in I.E., it has some overlapping issues. I simply wanted to provide you with a quick heads up! Besides that, wonderful website!

  32. When I originally left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and from now on whenever a comment is added I receive 4 emails with the exact same comment. There has to be an easy method you can remove me from that service? Thanks.

  33. An outstanding share! I’ve just forwarded this onto a coworker who has been doing a little research on this. And he actually ordered me breakfast because I discovered it for him… lol. So allow me to reword this…. Thanks for the meal!! But yeah, thanx for spending time to discuss this matter here on your blog.

  34. You are so interesting! I do not suppose I’ve read through something like this before. So nice to discover somebody with genuine thoughts on this subject matter. Really.. thanks for starting this up. This web site is one thing that is needed on the internet, someone with a bit of originality.

  35. An outstanding share! I have just forwarded this onto a friend who had been conducting a little homework on this. And he in fact ordered me lunch simply because I stumbled upon it for him… lol. So allow me to reword this…. Thanks for the meal!! But yeah, thanks for spending the time to talk about this subject here on your web page.

  36. Hello there! I could have sworn I’ve visited your blog before but after going through a few of the articles I realized it’s new to me. Anyways, I’m certainly pleased I discovered it and I’ll be book-marking it and checking back often!

  37. This is the perfect web site for everyone who really wants to find out about this topic. You understand so much its almost tough to argue with you (not that I really would want to…HaHa). You definitely put a new spin on a subject that’s been written about for ages. Wonderful stuff, just great.

  38. This is the right website for everyone who really wants to find out about this topic. You know so much its almost tough to argue with you (not that I really will need to…HaHa). You certainly put a new spin on a topic that has been written about for many years. Wonderful stuff, just excellent.

  39. Oh my goodness! Incredible article dude! Thank you, However I am going through problems with your RSS. I don’t know the reason why I can’t join it. Is there anybody else having identical RSS problems? Anybody who knows the solution can you kindly respond? Thanx!!

  40. Can I just say what a comfort to find an individual who really knows what they’re discussing on the internet. You definitely realize how to bring a problem to light and make it important. More people must read this and understand this side of your story. I was surprised you are not more popular since you definitely have the gift.

  41. Oh my goodness! Impressive article dude! Thank you, However I am going through troubles with your RSS. I don’t understand the reason why I cannot join it. Is there anybody else having the same RSS problems? Anybody who knows the answer will you kindly respond? Thanks!

  42. You’re so interesting! I don’t think I have read through anything like this before. So good to find somebody with original thoughts on this issue. Really.. thanks for starting this up. This web site is one thing that’s needed on the internet, someone with some originality.

  43. Hello, I do believe your website could be having web browser compatibility problems. Whenever I take a look at your website in Safari, it looks fine but when opening in Internet Explorer, it has some overlapping issues. I simply wanted to provide you with a quick heads up! Other than that, excellent blog!

  44. Howdy! This article couldn’t be written any better! Reading through this post reminds me of my previous roommate! He always kept preaching about this. I will send this post to him. Fairly certain he’ll have a great read. I appreciate you for sharing!

  45. Can I just say what a comfort to uncover a person that genuinely understands what they are discussing on the internet. You definitely know how to bring a problem to light and make it important. More and more people have to read this and understand this side of your story. It’s surprising you’re not more popular since you certainly possess the gift.

  46. Can I simply say what a reduction to search out someone who really is aware of what theyre talking about on the internet. You definitely know easy methods to carry a problem to mild and make it important. More people must read this and understand this aspect of the story. I cant believe youre no more popular because you definitely have the gift.

  47. Hi, I do think this is a great blog. I stumbledupon it 😉 I will come back once again since I saved as a favorite it. Money and freedom is the greatest way to change, may you be rich and continue to help others.

  48. The very next time I read a blog, Hopefully it won’t disappoint me just as much as this particular one. After all, I know it was my choice to read through, but I truly thought you would have something interesting to say. All I hear is a bunch of crying about something you can fix if you weren’t too busy searching for attention.

  49. May I just say what a comfort to uncover an individual who truly understands what they’re discussing on the internet. You certainly realize how to bring a problem to light and make it important. More people should check this out and understand this side of your story. It’s surprising you’re not more popular since you surely possess the gift.

  50. You are so cool! I do not believe I have read a single thing like that before. So good to find somebody with genuine thoughts on this topic. Really.. thanks for starting this up. This website is something that is needed on the internet, someone with a bit of originality.

  51. Youre so cool! I dont suppose Ive read anything similar to this prior to. So nice to seek out somebody by original ideas on this subject. realy thank you for starting this up. this web site can be something that is needed over the internet, an individual after a little originality. beneficial purpose of bringing new things towards the web!

  52. I was more than happy to discover this web site. I wanted to thank you for ones time just for this fantastic read!! I definitely really liked every little bit of it and I have you book-marked to check out new things on your website.

  53. Hello there! I could have sworn I’ve visited this website before but after browsing through many of the articles I realized it’s new to me. Regardless, I’m certainly happy I came across it and I’ll be bookmarking it and checking back often.

  54. You’re so interesting! I do not think I have read through a single thing like that before. So wonderful to discover someone with a few unique thoughts on this topic. Seriously.. thanks for starting this up. This website is one thing that is needed on the internet, someone with a bit of originality.

  55. When I initially left a comment I seem to have clicked on the -Notify me when new comments are added- checkbox and from now on whenever a comment is added I receive four emails with the same comment. There has to be a way you can remove me from that service? Thank you.

  56. You’re so interesting! I do not think I have read anything like that before. So good to discover another person with some genuine thoughts on this subject matter. Seriously.. many thanks for starting this up. This site is one thing that is needed on the internet, someone with a bit of originality.

  57. Howdy, I think your blog might be having web browser compatibility problems. Whenever I take a look at your site in Safari, it looks fine however when opening in I.E., it has some overlapping issues. I simply wanted to give you a quick heads up! Other than that, great site.

  58. Oh my goodness! Awesome article dude! Many thanks, However I am having difficulties with your RSS. I don’t know the reason why I cannot subscribe to it. Is there anybody else getting similar RSS problems? Anybody who knows the solution will you kindly respond? Thanks!!

  59. Oh my goodness! Awesome article dude! Many thanks, However I am having issues with your RSS. I don’t understand why I can’t subscribe to it. Is there anyone else having similar RSS problems? Anyone who knows the answer can you kindly respond? Thanks.

  60. An impressive share! I’ve just forwarded this onto a coworker who was doing a little research on this. And he in fact ordered me breakfast simply because I found it for him… lol. So let me reword this…. Thanks for the meal!! But yeah, thanx for spending some time to talk about this subject here on your blog.

  61. Good day! I could have sworn I’ve visited this web site before but after looking at many of the articles I realized it’s new to me. Nonetheless, I’m certainly pleased I discovered it and I’ll be bookmarking it and checking back regularly!

  62. I want to express my appreciation for the writer of this blog post. It’s clear they put a lot of effort and thought into their work, and it shows. From the informative content to the engaging writing style, I thoroughly enjoyed reading it.

  63. Next time I read a blog, I hope that it does not disappoint me just as much as this particular one. I mean, Yes, it was my choice to read through, however I truly believed you would have something interesting to say. All I hear is a bunch of crying about something that you can fix if you weren’t too busy looking for attention.

دیدگاهتان را بنویسید

نشانی ایمیل شما منتشر نخواهد شد. بخش‌های موردنیاز علامت‌گذاری شده‌اند *