Add static block to home pagePunch 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?

Could the museum Saturn V's be refitted for one more flight?

What is a romance in Latin?

How to prevent "they're falling in love" trope

Is "remove commented out code" correct English?

How can I deal with my CEO asking me to hire someone with a higher salary than me, a co-founder?

Is it logically or scientifically possible to artificially send energy to the body?

How badly should I try to prevent a user from XSSing themselves?

Is there an expression that means doing something right before you will need it rather than doing it in case you might need it?

A category-like structure without composition?

Assassin's bullet with mercury

Can compressed videos be decoded back to their uncompresed original format?

How could indestructible materials be used in power generation?

Should I tell management that I intend to leave due to bad software development practices?

Can we compute the area of a quadrilateral with one right angle when we only know the lengths of any three sides?

Plagiarism or not?

Avoiding direct proof while writing proof by induction

How seriously should I take size and weight limits of hand luggage?

Why no variance term in Bayesian logistic regression?

Am I breaking OOP practice with this architecture?

Why do bosons tend to occupy the same state?

What method can I use to design a dungeon difficult enough that the PCs can't make it through without killing them?

In 'Revenger,' what does 'cove' come from?

Why was the shrinking from 8″ made only to 5.25″ and not smaller (4″ or less)?

iPad being using in wall mount battery swollen



Add static block to home page


Punch 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 2 days ago









      Muhammad Anas

      350115




      350115










      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

                              Sum ergo cogito? 1 nng

                              419 nièngy_Soadمي 19bal1.5o_g

                              Queiggey Chernihivv 9NnOo i Zw X QqKk LpB