• Resolved jordan8201

    (@jordan8201)


    I have a database with a few hundred devotions that I would like to start using on my WordPress page. I am hoping not to have to copy and paste each of them into my WordPress page. Is there a way to somehow merge the two? Thank you very much!

Viewing 15 replies - 61 through 75 (of 97 total)
  • Ok, here you go, slight update to the previous code..

    I’ve made it easier for you to switch the elements for the devotion shown, you should see near the top of the file…

    So you can switch the header tags(h1/h2/h3/h4/h5 etc..) without too much fear of messing something up.

    https://wordpress.pastebin.com/m306c96c8

    As said previously, is there anything you’d like to change?

    Thread Starter jordan8201

    (@jordan8201)

    I basically just want to mimic the other page. I took this code
    .devotion {background:#fff;padding:10px}
    off of the style.css page. We put that earlier so we could see the text, but it is no longer necessary for some reason.

    I would like to see the search button and the edit box line up and that vertical line disappear if possible.

    The new page is wider than the old page. This is fine on my computer, but I wonder if it might be too wide on a computer that has a resolution like 800×600. What do you think?

    The site is looking great btw, thank you. Are we nearing the longest forum discussion in history yet?

    I would like to see the search button and the edit box line up

    Are you talking about the search form in your header?

    Edit box? What edit box?

    and that vertical line disappear if possible.

    Which vertical line are you referring to?

    I basically just want to mimic the other page. I took this code
    .devotion {background:#fff;padding:10px}
    off of the style.css page. We put that earlier so we could see the text, but it is no longer necessary for some reason.

    Yes i removed the devotion div, that was simply created initially when making the script/template for you… the line is no longer required because <div class="devotion"> is no longer in the code..

    You now have <div id="left-comments"> in it’s place. This was an element copied from the original older page. Ideally we should be using a class and not an ID but since the query is only ever returning a single result there should never be an issue.

    The new page is wider than the old page. This is fine on my computer, but I wonder if it might be too wide on a computer that has a resolution like 800×600. What do you think?

    Looks the same on my screen, can you be more specific?

    Let me know regarding the above questions… ??

    Thread Starter jordan8201

    (@jordan8201)

    Regarding the width – if I open both pages:
    https://straightpaths.mzbc.com/ and
    https://mzbc.com/straightpaths/?page_id=9
    in different tabs in Firefox and switch back and forth, the second page is much wider (less blank spaces on the two sides).

    In the header, there is a search edit box and a Go Button beside it. The edit box does not line up with the Go Button as it should. Just to the left of the edit box, there is a faint vertical line. This line is not on the first page, and really should not be there.

    Hopefully that is more clear. Thanks ??

    That’s strange because i’m using Firefox and the widths are the same according to Web Developer (which allows me to check various things including element width).

    I did a hard-refresh on my firefox and both are still the same..

    CTRL + F5 on both the pages, just to make sure you’re not seeing a cached version.

    Or are you referring to vertical spacing above the elements? (which i can see)..

    I can’t see the edit button on the second page to see the problem (only admins should see it), so i’m not sure why i see it on the first..

    In any case, i’ll need to see the problem to help fix it, can you take a screenshot?

    Search button is easy enough, add this line to the stylesheet (style.css).
    #searchform #s {float:left;margin-right:5px}

    Thread Starter jordan8201

    (@jordan8201)

    I’m referring to the margin on the right and left If I open each up in different tabs, and ctrl + tab back and forth, I can see a definite difference in the two.

    Thread Starter jordan8201

    (@jordan8201)

    The line in the style sheet worked, thanks! The vertical line is still there. I am not sure what edit box you are referring to. I do not see it.

    lol….

    The edit box you mentioned here..

    I would like to see the search button and the edit box line up and that vertical line disappear if possible.

    Any chance of a few screenshots of the problem?

    Internet Explorer shows the same level of spacing to…

    Would it be easier to just send me a copy of your theme?
    t31os(AT)hotmail(DOT)com

    Thread Starter jordan8201

    (@jordan8201)

    Oh ya. Well the edit box that goes along with the Go Button. ?? Should have said the search button. I’ll send you some screen shots a little later. What files would you need for the theme?

    All of them please, so i can install your theme locally.. well anything that is required for the theme to function…

    I think it will be a whole lot easier if i have a copy of the theme running. Just zip the whole folder of the theme you’re using.

    I think we’ll get more done, in a shorter space of time this way…. ??

    Thread Starter jordan8201

    (@jordan8201)

    I have just emailed you the entire Theme5.zip.

    Thanks

    Taking a look for you now…

    In the meantime may i suggest using a different editor, it appears whatever you are using is adding extra spacing throughout the theme files…

    Every other line is a blank line… ??

    Notepad++ and Notepad2 are both free and as easy to use as regular notepad… (i use the first myself)..

    Fixed a few areas in regard to invalid code, and i’ve also fixed the post titles, so they now link (while still looking exactly as before) to the single post…

    This may not be something you need, but it’s there…

    I still can’t see the issues you mentioned, you’ll need to be very specific or we’ll be running in circles all the way onto page 4 of the thread, lol… ??

    What browser are you using?

    How about a screenshot? (Do you know to do a screenshot?)

    Thread Starter jordan8201

    (@jordan8201)

    Whatever you did fixed the issue with the width. The faint vertical line near the search box is still there. I do know how to do screen shots. Can I post them here or should I email? Or do I need to upload to my server then link to them from here?

    I use PHP Designer 2007. As long as Notepad++ will give me different colors on the code, then I’m good. ??
    Thanks

    Thread Starter jordan8201

    (@jordan8201)

    Hmmm…wait you couldn’t have updated the server files, so I am not sure how the width issue was corrected. It’s a miracle!! ??

Viewing 15 replies - 61 through 75 (of 97 total)
  • The topic ‘Merging from another database’ is closed to new replies.