Add static block to home page The Next CEO of Stack OverflowPunch hole in FPC for a static block inside a CMS page, without a custom moduleAdd static cms block in home pageUsing variables in static block for email templatewhere do I set width for product details after removing sidebar blockWidgets + Static Block issueTime Widgets or Static BlocksWidget Locations & Static Blocks (not working)Add line break to static blockHow to move cms static block widget in Magento 2.1How to add static block to home page not wrapped in classes?

Can Sri Krishna be called 'a person'?

How can the PCs determine if an item is a phylactery?

Horror film about a man brought out of cryogenic suspension without a soul, around 1990

Simplify trigonometric expression using trigonometric identities

Traveling with my 5 year old daughter (as the father) without the mother from Germany to Mexico

How to pronounce fünf in 45

Incomplete cube

What steps are necessary to read a Modern SSD in Medieval Europe?

Another proof that dividing by 0 does not exist -- is it right?

How do I keep Mac Emacs from trapping M-`?

Is it reasonable to ask other researchers to send me their previous grant applications?

Why did early computer designers eschew integers?

Car headlights in a world without electricity

Why can't we say "I have been having a dog"?

Can you teleport closer to a creature you are Frightened of?

Is the sample correlation always positively correlated with the sample variance?

Find the majority element, which appears more than half the time

A hang glider, sudden unexpected lift to 25,000 feet altitude, what could do this?

Raspberry pi 3 B with Ubuntu 18.04 server arm64: what pi version

What is the difference between 'contrib' and 'non-free' packages repositories?

How to unfasten electrical subpanel attached with ramset

Small nick on power cord from an electric alarm clock, and copper wiring exposed but intact

Can I cast Thunderwave and be at the center of its bottom face, but not be affected by it?

Is the offspring between a demon and a celestial possible? If so what is it called and is it in a book somewhere?



Add static block to home page



The Next CEO of Stack OverflowPunch hole in FPC for a static block inside a CMS page, without a custom moduleAdd static cms block in home pageUsing variables in static block for email templatewhere do I set width for product details after removing sidebar blockWidgets + Static Block issueTime Widgets or Static BlocksWidget Locations & Static Blocks (not working)Add line break to static blockHow to move cms static block widget in Magento 2.1How to add static block to home page not wrapped in classes?










0















I have looked and tried methods in other topics but I cannot find anything that will work.



I want to keep my homepage organized and I would like to add "sections" like about us and contact section to the home page.



I tried adding the the code like



<div class="row">
<div class="col-sm-7">
block type="cms/block" block_id="about_us"
</div>
</div>


But isnt showing the content fromt he block. I tried doing it with a widget and it did show but it was stuck in the container and the bg image was not going full width.



Any help would be appreciated.










share|improve this question




























    0















    I have looked and tried methods in other topics but I cannot find anything that will work.



    I want to keep my homepage organized and I would like to add "sections" like about us and contact section to the home page.



    I tried adding the the code like



    <div class="row">
    <div class="col-sm-7">
    block type="cms/block" block_id="about_us"
    </div>
    </div>


    But isnt showing the content fromt he block. I tried doing it with a widget and it did show but it was stuck in the container and the bg image was not going full width.



    Any help would be appreciated.










    share|improve this question


























      0












      0








      0








      I have looked and tried methods in other topics but I cannot find anything that will work.



      I want to keep my homepage organized and I would like to add "sections" like about us and contact section to the home page.



      I tried adding the the code like



      <div class="row">
      <div class="col-sm-7">
      block type="cms/block" block_id="about_us"
      </div>
      </div>


      But isnt showing the content fromt he block. I tried doing it with a widget and it did show but it was stuck in the container and the bg image was not going full width.



      Any help would be appreciated.










      share|improve this question
















      I have looked and tried methods in other topics but I cannot find anything that will work.



      I want to keep my homepage organized and I would like to add "sections" like about us and contact section to the home page.



      I tried adding the the code like



      <div class="row">
      <div class="col-sm-7">
      block type="cms/block" block_id="about_us"
      </div>
      </div>


      But isnt showing the content fromt he block. I tried doing it with a widget and it did show but it was stuck in the container and the bg image was not going full width.



      Any help would be appreciated.







      static-block






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 13 hours ago









      Muhammad Anas

      330115




      330115










      asked Apr 27 '17 at 13:24









      WebbieWorksWebbieWorks

      133




      133




















          2 Answers
          2






          active

          oldest

          votes


















          1














          Just need to add below code in CMS Page with you block id



          widget type="cms/widget_block" template="cms/widget/static_block/default.phtml" block_id="18"





          share|improve this answer






























            0














            Use



            <?php echo $this->getChildHtml('about_us'); ?>


            For getting static Block from a .phtml file block type="cms/block" block_id="about_us" is used to get static block in magento ver 1.9.2.4 or before.






            share|improve this answer























              Your Answer








              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "479"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f172075%2fadd-static-block-to-home-page%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              1














              Just need to add below code in CMS Page with you block id



              widget type="cms/widget_block" template="cms/widget/static_block/default.phtml" block_id="18"





              share|improve this answer



























                1














                Just need to add below code in CMS Page with you block id



                widget type="cms/widget_block" template="cms/widget/static_block/default.phtml" block_id="18"





                share|improve this answer

























                  1












                  1








                  1







                  Just need to add below code in CMS Page with you block id



                  widget type="cms/widget_block" template="cms/widget/static_block/default.phtml" block_id="18"





                  share|improve this answer













                  Just need to add below code in CMS Page with you block id



                  widget type="cms/widget_block" template="cms/widget/static_block/default.phtml" block_id="18"






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Apr 27 '17 at 13:29









                  Divyansh BajajDivyansh Bajaj

                  1817




                  1817























                      0














                      Use



                      <?php echo $this->getChildHtml('about_us'); ?>


                      For getting static Block from a .phtml file block type="cms/block" block_id="about_us" is used to get static block in magento ver 1.9.2.4 or before.






                      share|improve this answer



























                        0














                        Use



                        <?php echo $this->getChildHtml('about_us'); ?>


                        For getting static Block from a .phtml file block type="cms/block" block_id="about_us" is used to get static block in magento ver 1.9.2.4 or before.






                        share|improve this answer

























                          0












                          0








                          0







                          Use



                          <?php echo $this->getChildHtml('about_us'); ?>


                          For getting static Block from a .phtml file block type="cms/block" block_id="about_us" is used to get static block in magento ver 1.9.2.4 or before.






                          share|improve this answer













                          Use



                          <?php echo $this->getChildHtml('about_us'); ?>


                          For getting static Block from a .phtml file block type="cms/block" block_id="about_us" is used to get static block in magento ver 1.9.2.4 or before.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Apr 27 '17 at 13:37









                          Lalit838Lalit838

                          313112




                          313112



























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Magento Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f172075%2fadd-static-block-to-home-page%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

                              Area configuration aggregation error after install Porto themeMagento 2.1 CE Installed but front/backend not loading/workingCSS not loading on page within Magento 2 pageCannot install module in Magento 2no commands defined in the “setup” namespace. in Magento2Magento 2: Static files are present but shows 404Why do i have to always run the commands to clean cache in Magento 2.1.8?Failure reason: 'Unable to unserialize value.'Error 500 after magento migrationIn production mode the site does not loadMagento 2 : Error 500 after installing

                              Middle Expansion Olielle Resaix Definition: Uttering songs of triumph shouting with joy triumphant exulting Sejunction Journal 붙다 달 고급 품목 외출 The stretch trades the screeching tin. Definition: The act of speaking with a drawl a drawl Cough Sand Definition: An uproar a quarrel a noisy outbreak Shake Iron Publicize Horse House Baby 사과 Resaix Flaggy Jelly Temporary Unequaled Puppet A drop in the bucket Shrew 성격 회원 성질 미팅 The burn frames the tacky quality. Materialistic The smoke reduces the way. Yammoe Nondescript Cheek 얼굴 배 약하다 날리다 타다 The illegal country shows the iron. Help Rule Drearien Smoke Teaching Meaty Wasp Abraham Lincoln Jaws 진심 수리하다 Size Cork Idea Convert Think Lark John Lennon 거울 청소 군 추천하다 아이스크림