Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter wwjoe

    (@wwjoe)

    Hey Aleister, sorry I didn’t reply sooner, worked all week…

    As for you solution, absolutely perfect, that is exactly what I was looking for. Thanks for the help my friend, I really appreceiate it. Joe

    Thread Starter wwjoe

    (@wwjoe)

    It was a fresh install of WP and the only post I had up, nothing too configured, it was not a big thing to re-insall it really. I thought I had it the post saved but I did not.

    I’m trying to figure out how to copy the content from the old DB. I’ve never worked with DB’s before, don’t really get navigating around in them. Thanks

    Thread Starter wwjoe

    (@wwjoe)

    Hi, retrieve an entire Post would be the best description. I installed WP, wrote one post, a long one too, then switched hosting companys. I quickly installed WP on the new server, thinking I could just get the old post from the old hosting company’s server and paste it into WP on my new sever. Thanks everyone.

    Thread Starter wwjoe

    (@wwjoe)

    I have access to that, anyone have anymore details on how to find post data and pull it out? Thanks

    Thread Starter wwjoe

    (@wwjoe)

    If you mean WP.com for hosting no, I’m transferring to Site5.com as we speak. Do you have any more info on an image genterator?

    Thread Starter wwjoe

    (@wwjoe)

    I liked it better when it was magic! What theme are you using?

    Thread Starter wwjoe

    (@wwjoe)

    Very close Aleister, I put in “Back to Projects” instead of Home, and only that text became the link, which is exactly what I wanted. The problem was it took me back to my Homepage instead of the Category with all of the Post lisings, and the actual Post didn’t show up in the page. I have to say I don’t fully get the mechanics of the code yet,but I’ll keep tweaking and update. Thanks! Joe

    Thread Starter wwjoe

    (@wwjoe)

    Here’s what I’ve got, something as simple as this..

    When viewing any Post as a single page, it’s using the single.php template. In this template, in the Loop, near the top of the page I placed this line of code:

    <?php the_category(); ?>

    That grabs the current Post’s Category and puts it in a link.
    Damn.

    I did try to make the link this way but it didn’t work:

    a href=”Back to <? php the_category(); ?>

    yes, left out the beginning tag so it prints in this post.

    I thougt that might just print the Category name and have all 3 words as the link. I think maybe some useage of the Echo command may help but I still don’t know squat about PHP to know. Thanks

    Thread Starter wwjoe

    (@wwjoe)

    Hey guys, thanks for replying. I’m new to PHP and am probably not explaining myself correctly. I’m not sure what URI is but I would assume it is equivalent to URL.

    In an “old school” website, with just static pages, no dynamic page creation or PHP, you could put a simple text link to another page/file, and your browser would load it up.

    a href=”whateverpage.html”> whateverpage </a

    If all of the pages in WP are created on the fly, where the info is pulled from DB’s and stuff can links work the same way?

    Example: From your Sidebar, when you click on a Category you see all of the Posts listed for that Category. You can click on one, and that Post is loaded into it’s own page using the Single.php template. (at least for me)

    Clicking on a Category uses the archive.php template and loads the Category you chose. Let’s say you’re reading a Post in a Categroy called Cars. How can you put a simple text link from that Post’s individual page, back to the Cars Category page, where all the Posts are listed, when the link address would change everytime you view a Post in a different Category. The Category page you link back to would change depending on what Category’s Post’s you were viewing.

    Man I’m not even sure if I get this anymore….. ??

    Let me know how I can be any clearer if this dosen’t explain what I mean. Thanks for helping everyone, I really appreceiate it. Joe

    https://www.worldwidejoe.com

    Another noob with similar problems. When I click on a Post and it is opened in it’s own, single page, I would like to restrict the navigation links to only go to posts in the SAME Category. After clicking the link posted by ielliot for the fix, I have no idea what that page full of code is or what to do with it… oh..

    Any help fixing this really appreceiated, thanks!

    I found a way to do this. The ID number of the Category that I don’t want to show up in my Sidebar is 3. In my Sidebar.php file, there is this line of code:

    <?php wp_list_cats(‘sort_column=name&optioncount=1&hierarchical=0’); ?>

    I added exclude=3 to it and you get this:

    <?php wp_list_cats(‘sort_column=name&optioncount=1&hierarchical=0&exclude=3’); ?>

    Works perfectly, hope this help, cya

    I have tried what bob58 recommended but am not sure exactly how the code is written or where it’s placed, can anyone clarify or show an example? I’m trying to exclude one Catagory from showing up in the Sidebar. Thanks

    Thread Starter wwjoe

    (@wwjoe)

    Well I’ve figured out an acceptable workaround to acheive what I might describe as the lack of Category’s for Pages. If anyone wants any info let me know and I’ll post it, thx.

    Thread Starter wwjoe

    (@wwjoe)

    Miklb your method worked perfectly, thanks so much. Brittanie I’m going to look at the plugin next, I can see I’m going to need to get a better handle of the inner workings… Thanks all!

    Thread Starter wwjoe

    (@wwjoe)

    Well I tried it but didn’t have any luck, my home page still showed all posts. I’m not sure where to place the code in the index.php page. Can anyone point me in the right direction as where to put it? Thanks!

Viewing 15 replies - 1 through 15 (of 15 total)