• I have a PAGE with no TITLE and it appears to also have no PAGE ID#.

    I created this page for the first menu-item on my F8 Static blog and i didn’t want to have title text in here. So the Page ID seems to just read as the HOME PAGE URL. Does that make sense? Instead of seeing http://www/blog.com/blog/?page_id=1493 I JUST SEE: http://www/blog.com/blog/

    This means i have nothing to EXCLUDE from my Pages Widget and this Page shows up as a thin /blank/ item in with the list of PAGES with names and it basically looks really stupid.

    I have tried putting in the url, 0, and 1 but beyond that I can’t figure out how to /exclude/ this from the Page Widget if I don’t see a page ID.

    Can anyone help me or tell me where to post this?

    Thanks!

Viewing 15 replies - 1 through 15 (of 19 total)
  • I just recently tested this out with widget context plug in. I changed the permalink to http://www.url.com/test/.

    When I went to show that widget on test page only I put in the page name test without any slashes, and it worked. I couldn’t see the widget on my other test2 page.

    PS. I wish I could edit the post. I took the title off my page, and it still worked.

    I did change the permalink setting under settings to custom structure. In the box beside the words custom structure I entered /%postname%/

    This gives me a nice URL that would look like http://www.url.com/happy-faces.com. Instead of having all the numbers in the URL.

    Then I went to edit my test page. Under where you enter the title is a link where you can edit your permalink. I could edit happy-faces to happyfaces if I wanted to.

    That is where you are going to find your URL to that page, and you can edit it there also. Use the end of the URL in the widget box without any slashes. That should work.

    I recently spent a bunch of time watching youtube videos to find all this out and more. Good luck.

    Thread Starter formpig

    (@formpig)

    Hi. Thank you.

    I am not following you here exactly except to think that you are saying that I can /manually/ change the permalink? or that there is some plug-in by the name of “WIdget Context” that I can download and which will – what will this plugin do? It will change the url from one that has the “…/?page id=1493” to something that is more “human readable” is that right?

    My problem here is that I have a PAGE that I am using as the /first/ MENU-ITEM on my blog. This page HAS NO PAGE ID# so I can’t exclude it from a PAGE WIDGET. At first I thought this was because I didn’t add a TITLE to it but this is a separate issue, now that I think about it.

    1. There appears to be a bug where if I use a PAGE as the first MENU-ITEM in my blog, the PAGE has no PAGE ID and instead shows up with a PAGE ID that is the same as the blog home page url??

    2. Since this PAGE has no PAGE ID, I can’t exclude it from a PAGE WIDGET – and in my case, since this PAGE does not have title, it shows up as just a blank Page in this PAGE WIDGET.

    Does that make sense to anyone?

    P.S. Thank you for the help here. I should tackle the permalink issue as well…

    I just got back online. Yes, there is a plug in called “widget context”. What the plug in does is add an extra small box under each individual widget you added to the sidebar. From here you can show/hide using either by clicking on one of the eleven boxes such as front page, blog index, single post, single page, all archives, category archives, and etc. Next to it is a box where I can add individual pages. All I need to put in is the end part of the URL.

    From what you said your page is the home page. In my widget context it has a special box for front page, which would also be the home page. Most plug ins I have seen for including/excluding widgets have a box for the front page. I don’t know how to exclude a widget without a plug in. I’m not sure if you can exclude the home page through page ID. I think that is why they have the box for that, and for blog index as well.

    If that is not the case: Just because a page does not have a title does not mean it doesn’t have an ID. I did create a page without a title, and it did give me an ID using numbers.

    I’m thinking your page ID for http://www/blog.com/blog/ should be blog. Don’t use any /’s. I would enter blog in my widget context plug in the box that says “or target by URL”.

    Hope I didn’t loose you there.

    If you want to know how to change the permalink which is basically dictates how your URL will look. Keep reading. I’m going to try to explain this step by step. If you still get lost, there are many good you tube videos on this.

    To change the permalink settings.

    After you log into wordpress admin, go to the dash board. Mine is located on the right hand side. Click on settings in your dashboard. Under settings there will be a link for permalinks. Click that link.

    On that page it will give you several options on how you want your url to show. The default is http://www.url.com/?p=123. Instead of that, I like the option “custom structure”. Beside custom structure it has a box where you need to enter a code. The code to enter is /%postname%/
    That will give you http://www.url.com/blog/

    How to further edit your custom structure permalink/url.

    Now say you don’t like http://www.blog.com/blog/ In your dashboard, click on pages. There you should see the page for http://www.blog.com/blog/. It will probablly show up as (no title) since you didn’t put a title in, which is fine. Go to that page and click edit to get to the page editor.

    At the top it should say edit page.
    Below that should be a box to enter your title, or change it.
    Right below that, it should say permalink: http://blog.com/blog/
    Right next to that should be an edit button and then the view page button.

    Click the edit button next to the view page button, and you can change the last part of the URL /blog/. Instead of /blog/ say you could enter /petblogs/.

    Please note: If you don’t see the permalink and edit button on your edit page, then you may need to change your permalink settings as I described above to custom structure. WP may only allow you to change the link in this way when using custom structure.

    I hope that makes more sense.

    Thread Starter formpig

    (@formpig)

    hi. thank you very much. i would really love to solve this.

    so – if i am following you here “widget context” – will it let me add a PAGE WIDGET and simply ADD a /single/ PAGE to this Widget? I mean, right now when I add a PAGE WIDGET I have to exclude each and /every/ PAGE that I have created to /exclude/ it from showing up on this WIDGET.

    And since the “home page PAGE” doesn’t seem to have a PAGE ID. I mean, when I enter things to EXCLUDE from a PAGE WIDGET I enter “1493”, “1469”, “224” etcetera. And this Home Page doesn’t have a PAGE ID that I can see I can’t exclude it.

    If Widget Context will just let me ADD ONE PAGE to a Widget this would be the trick, no?

    Also, on the permalinks – I also need to study up on them as you have – but I /would/ like to get rid of the numbers on my permalinks – if this will not screw up any of my site or any of my SEO or something. So – can I make a switch somewhere in the Permalinks section and change these url’s to a point where they don’t have the number in them??

    THANK YOU!

    Ok, your wanting to exclude the homepage on the page widget. Sorry, I thought you were trying to exclude a particular widget on your homepage.

    Just found out from another source “If your front page isn’t a static WordPress Page, then you can’t control it via a Pages Widget.”

    But

    I found a plug in that might help called “Flexi Pages Widget”.
    “Flexi Pages Widget is a highly configurable widget to list pages and sub-pages in WordPress sidebar. User friendly widget control comes with plenty of options. ‘Flexi Pages’ widget can be used as an alternative to the default WordPress ‘Pages’ widget.”

    This might be what you are looking for.
    ——————————————————

    Read up on the permalinks, I’m not sure how they will affect your SEO. You might have a problem changing them if someone else put a link on their page back to your site. That link back wouldn’t work any longer. Did find out you can not change the permalink for the home page.

    Widget context plugin adds itself to the widget box. It makes it easier to tell it which pages or blogs that widget will show up on.

    Thread Starter formpig

    (@formpig)

    Hi. Thanks!

    I think I don’t want to do a full sidebar. Since the pages are already setup I just want to add a widget. Perhaps someone on the forum can help me with this or perhaps these screenshots will help?

    In the first you can see that there is no option to rename this PAGE ID. I mean, I don’t quite understand what is going on here but I guess I have a series of pages that have page id’s but the one page that I am using for my home page does not have a page id and this means I can’t EXCLUDE it from the PAGES WIDGET?

    This seems like a bug, no?

    http://dl.dropbox.com/u/15285654/Screen%20shot%202011-11-29%20at%2012.05.23%20PM.png

    On this second link you can see how this looks very stupid:

    http://dl.dropbox.com/u/15285654/Screen%20shot%202011-11-29%20at%2012.09.18%20PM.png

    And on this third link you can see how I need to enter an ID # to EXCLUDE this page.

    http://dl.dropbox.com/u/15285654/Screen%20shot%202011-11-29%20at%2012.08.55%20PM.png

    Anyone at WordPress able to clear this up? It seems like it is a pretty standard part of the software/UI and I think I must be missing something.

    THANK YOU!

    I googled wordpress put widget on page not sidebar.

    In the thread http://wordpress.org/support/topic/how-to-widgets-anywhere-and-not-in-sidebar?replies=20 someone mentioned they created a widget called “Widgets on Pages” so you can place a widget on a page instead of the sidebar.

    Here is the URl to Widgets on Pages http://wordpress.org/extend/plugins/widgets-on-pages/

    Otherwise from what I have been reading you would have to work with the coding in order to put the widget on the page instead of the sidebar. Widgets were originally only meant to be put in the sidebar.

    Hope this helps some.

    ——————————————————–
    This seems like a bug, no?

    http://dl.dropbox.com/u/15285654/Screen%20shot%202011-11-29%20at%2012.05.23%20PM.png

    That looks right. You don’t have an edit button beside the view button. Means you can’t edit there. My home page looks like that also with no edit button. It sounds like it is not accepting blog as the page ID either.

    I wish I knew how to help you further. Sorry I can’t.

    Thread Starter formpig

    (@formpig)

    Hi. Thank you.

    I wish someone would help with the Page ID issue. It seems like a bug.

    I may have misunderstood you on the sidebar issue. Were you saying that there was some kind of plugin that acted like a PAGE WIDGET that would /instead/ put a single page or would put PAGES on something like a WIDGET but in a way that I didn’t have to list /all/ of the PAGES I want to EXCLUDE?

    I mean it is obviously inconvenient to always be excluding all my pages when i just want to add one and it is pretty much impossible for me to use PAGES on a WIDGET if there is one that I can’t exclude because it doesn’t have a page id…

    Again thank you for all your help.

    – Jon

    Since no one else seems to be stepping in to help you, I’ll try again. Sorry I have been confusing to you. The page Id is not a bug, and you are limited in the page widget.

    “Flexi Pages Widget” plug in replaces the page widget. You will be able to include one page to your widget if you want to without having to exclude 50 others. It has an option on whether you want to include the home page or not. This widget has a lot of different options for excluding and including pages. http://srinig.com/wordpress/plugins/flexi-pages/ gives you a screenshot of the widget itself, and more details on the widget.

    You said “I think I don’t want to do a full sidebar.” I took that to mean you didn’t want any sidebars. Maybe you only meant you didn’t want it extending too far down. If that is the case, then the widget above will allow you to have a short sidebar.

    If you want any side bars, then you will need the plug in below.

    Widgets on Pages http://wordpress.org/extend/plugins/widgets-on-pages/
    This lets you put a widget directly on your page instead of automatically placing it in the side bar. No side bars needed.

    Other than this, I hope someone else will be able to step in.

    Thread Starter formpig

    (@formpig)

    Hi.

    Thank you.

    So the link you gave for widget context lets me do a widget with one page?

    But what if I want to do a widget with multiple pages? I am able to do this now with the exception of not being able to exclude *ONE* page which for some reason doesn’t have a PAGE ID.

    I don’t get what your answer is to this. All my Pages have Page ID’s with the exception of the ONE PAGE that happens to be on my Home Page. Can I exclude this page from a Page Widget or does this ONE PAGE have to be on all my PAGE WIDGETS?

    Is this what Widget Context is supposed to do – ? – let me add all my pages without having to EXCLUDE Pages?

    I mean, am I missing something and you are saying you don’t know where the Page ID is for a Page on a Home Page or are you saying that I can exclude this page from a Page Widget even though it obviously doesn’t have a Page ID?

    I’m not sure I understand your answer. I mean, the help is really great but you are saying you don’t know the answer and you hope somone from WP gets on to answer it? Do you know of a better place to ask this?

    Thanks

    All my Pages have Page ID’s with the exception of the ONE PAGE that happens to be on my Home Page

    Is this a static Page? Or a list of your recent posts?

    Thread Starter formpig

    (@formpig)

    HI Esmi.

    Thank you. It is not a list of my recent posts but it is on my Home Page. My recollection is that it is a static page but in all honesty I can’t remember what a static page was. I think it was a way to stop the home page from rotating through all the blog posts? Anyway, it is here:

    http://www.formpig.com

    And it has always showed up on my Page Widgets so I never used one but not I want to use one for some items and having the home page there is no good. Also, since I kept the title of this page blank it looks sort of silly.

    Thank You

    My recollection is that it is a static page

    It#s not possible to verify this via the generated markup, so you need to check via Settings -> Reading.

    Thread Starter formpig

    (@formpig)

    Hi Esmi. Thank you.

    It is Static.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Can't Exclude Page with no ID# in Pages Widget’ is closed to new replies.