How can I show just part of a webpage?

by zoro
8 replies
Hi, I am not a coder so please go easy on me .. lol.

I am using Wordpress.

I have a website where there are always many changes taking place on the home page. But there is one area of the home page where I don't want the changes to occur. It needs to stay constant.
I thought of using an iFrame but it pulls in the whole webpage from other site. I just want to be able to show a snippet of the other webpage on my main website's home page.

What would you recommend to be the best and simplest way to achieve this?
#part #show #webpage
  • Are these snippets posts? If so I would get Site Origins Page Builder and use their Post Loop widget
    Signature
    Premium WooCommerce & WordPress Plugins $10/ea. or FREE With Membership. PluginForage.com
    {{ DiscussionBoard.errors[10212913].message }}
  • Profile picture of the author rwil02
    If you want it constant, why are you pulling it in from another site?

    If you want "really" constant, you should be able to put it into the site template.
    If you want it "pretty much" constant, you should be able to include a section in the home page template that only shows there. And then just update a single file which is the source for that section.
    Signature

    Roger Willcocks
    L-Space Design
    Please vote to help me win a 3kW solar array

    {{ DiscussionBoard.errors[10213008].message }}
  • Profile picture of the author zoro
    Thanks for your input guys.

    I think I have worked out the easiest way for me to do it. I will simply upload an image of the info I want to remain constant. I will do using the image url. So every time all the pages are updated the image will not change. I think this should work.
    {{ DiscussionBoard.errors[10214461].message }}
  • Profile picture of the author JonJ13
    You could create a screenshot and have it shown on your page. Not sure if this is what you're referring to, nonetheless, there are some great software tools you can utilize. Hope this helps!
    {{ DiscussionBoard.errors[10214470].message }}
  • Profile picture of the author zoro
    So I just tried using the Image Url, but it did not work. So just to be a bit more clear, here is what I'm trying to achieve:

    I have a tool which automatically duplicates all my Home pages. I use this because I want most of my pages to look the same, but with one exception = the Phone Number. Each page needs to have its own different Phone Number.
    So, when I use my page duplicator tool for updates and changes of the main contents on the main Home page, I don't want the Phone Numbers on the other pages to change. Hope this makes more sense.

    How can I achieive a simple solution to this?
    {{ DiscussionBoard.errors[10214583].message }}
    • Profile picture of the author rwil02
      Originally Posted by zoro View Post

      So I just tried using the Image Url, but it did not work. So just to be a bit more clear, here is what I'm trying to achieve:

      So, when I use my page duplicator tool for updates and changes of the main contents on the main Home page, I don't want the Phone Numbers on the other pages to change. Hope this makes more sense.

      How can I achieive a simple solution to this?
      OK.
      word press pages are PHP based.

      Whoops, you didn't actually say word press, don't know where I picked that up from.

      What web server software ARE you using?

      PHP allows you to use "includes" https://css-tricks.com/snippets/php/php-include/

      Rather than "navigation.php" in the linked example, you could reference "phonenumber.php" (or possibly even "phonenumber.html") in your template file in the place where you want the phone number to appear.
      Signature

      Roger Willcocks
      L-Space Design
      Please vote to help me win a 3kW solar array

      {{ DiscussionBoard.errors[10214585].message }}
  • Profile picture of the author zoro
    I now realise that it might not be able to work because my in WP site I am using a widget type Page Builder. One of the widgets has a WYSIWYG editor. The problem is, when I update my Home page, and then Duplicate that page several times, it automatically updates all of the pages with the new Home page content.
    {{ DiscussionBoard.errors[10215034].message }}
  • Profile picture of the author blisonickid
    You can use iframes to display some portion of the website , you can use javascript to turn off some portions
    {{ DiscussionBoard.errors[10225021].message }}

Trending Topics