Forum Replies Created

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

    (@jimzippy)

    Ah i see, thanks for pointing that out

    Thread Starter jimzippy

    (@jimzippy)

    Ah, that’s genius, yep i can see how running that bit as it’s own include/call function should work.

    I’ll give that ago, is it just a case of writing:

    get_page({page-name-here});

    ? or am i not even close lol, thanks

    Thread Starter jimzippy

    (@jimzippy)

    Hiya

    Yes, i took a look at that link and that did make more sense than most, however i’m trying to steer clear of adding static text as it needs to be editable as much as possible through WP for the client… which is a pain in the a*se.

    I’ve tried pulling post data based on a post_page(); query then running another query later for the category posts but it’s still the same issue of a repeated page post.

    Thanks again

    Thread Starter jimzippy

    (@jimzippy)

    Hiya,

    Sort of, i get the feeling i may be asking wordpress to do to much, lol (i am quite new to it!).

    I have tried creating a page with it’s own template e.g wedding-photos. This page is editable through wordpress as a “created page” under the WP menu of “Pages”. I can then change the intro text here.

    Then below that i have the posts from a category called wedding-photos which should in theory display a thumbnail photo and a short description – these are posts edited under the WP “Posts” menu.

    Therefore, this one page should have both sets of posts considering they both use > if have Post() then do > but because these (i think) are technically both classed as posts wordpress just overrides the second set of thumbs and posts and repeats the main intro post again and again…

    I copied the archive.php page and took the top section from page.php
    and then changed the page template name to “wedding-photos” – but maybe this is incorrect anyway???

    Thanks for all your support

    Thread Starter jimzippy

    (@jimzippy)

    Hi,

    sorry, what i mean is that i have two lots of dynamic text that need to be shown on that page. The main post created for the page (as in the page post) but i also want to show the separate posts for the category.

    As far as i can see a category page will still only show the main post or category posts and not both, unless i include one as static text – which i do not want to do.

    I hope that makes sense or if i have missed something please feel free to point it out as i’ve been scratching my head for hours on this, lol

    thanks for your help

    Thread Starter jimzippy

    (@jimzippy)

    Hi,

    I did look at the category page in the codex, but this appeared to only allow static text placed at the top and not dynamic, but i may have miss read that?

    Thread Starter jimzippy

    (@jimzippy)

    I’ve since found another plugin called “social” which does this with ease and has a few other nice features… so if anyone’s tryng to do the same check out https://blogplay.com/sociable-for-wordpress/

    Thread Starter jimzippy

    (@jimzippy)

    Hi Michael

    I think that sounds more like what i’m after – i’ll check it out

    Many Thanks

    Thread Starter jimzippy

    (@jimzippy)

    Hi, thanks for replying

    I already have the page “Services” created with sub pages – asigned, but there are so may sub pages that they should really be grouped in sections.

    I could manually group them by creating a “Services” template page with repeated wp_list_pages() sections and include/exclude for each group as you suggested.

    The issue with this is that if the client creates a new page and wants to assign it to a group through the control panel they can’t… which then defeats the point of having the pages created through WordPress.

    Hope that makes sense!

    Forum: Fixing WordPress
    In reply to: My site was Hacked

    Hi bmoon

    with regards to moving your wp-config file above the root, there’s not much point if you’re on a shared hosting environment… As a Hacker who has compromised another site on the server will be able to run a script that reads that file as plain text anyway.

    If you are worried that they (hacker) are reading your DB settings in the config file you could zend encrypt those settings (providing your server can read zend encodeded stuff).

    If it’s always just your clients sites that have the issue and everything you have done is considered “secure” as possible – i’d typically suggest running basic security checks there end – if they’re also logging in (as a precaution). If you’re managing everything for them, then there’s no need to worry about doing that.

    Put it one way – i have handed sites over to clients before who have changed there password to their own name – despite a big warning – letter, go figure! lol

    Forum: Fixing WordPress
    In reply to: My site was Hacked

    hi bmoon,

    I have noticed both you and thread7 are using similar plugins (as are others who have recently suffered).

    If you don’t really need them – my advice would be don’t use them!

    Make sure your hosting provider is a good one! – if you run your own servers and you’re having security issues – i’d stop now and out source it. Are your three site sharing the same space? or on separate accounts?

    Double check your laptop again (bit outside the scope of this thread), but – bit defender online scan and spybotSD are good places to start for the basics.

    Wipe your server space clean (everything! e.g cgi-bin, etc), wipe your database and any others db’s you may be running (e.g for joomla), change all ftp logins and start again!

    Download the latest WP again and run a fresh install – Keep everything as simple as you can (except your passwords lol). Change all your MySQL connect settings. Set your DB privileges appropriate to your use (more secure the better). Only keep the one theme you’re using online and always update it… any additional javascript you may use – make sure it comes from a good/reliable source!

    If you can help it, don’t re-use a backup as the issue could still be in it! (check that separately and thoroughly).

    If you or anyone gets hacked, please list all details about what you were using – as much as possible as it may help highlight an issue with a third party item.

    good luck!

    Have you thought about using Flutter? flutter.freshout.us/ it will allow you to add images to specific pages as part of its system.

    so there’s no need for hard coding “if” statements, just echo get_img(‘image_name’) which pulls the image you set for that page.

    full info is on their site

    Thread Starter jimzippy

    (@jimzippy)

    I have used something similar to what you have suggested, but this leaves issues with other pages e.g: “about us” page and using a link with a title “about {the company name}”?

    especially when it gets handed over to the client, and the id’s will be generated on the fly… it might not be possible, but thought i’d ask – wondered if maybe a module exists to allow for alternate title links etc… but i couldn’t see anything when searching.

    really appreciate your time

    thanks

    James

    Thread Starter jimzippy

    (@jimzippy)

    Thanks for responding,

    What i mean is, in the navigation bar the link will say “Welcome” if i put the title of the page as “Welcome”, but i’d like the link to say “home” and the page title to say “welcome”…

    hope that makes sense

    Thanks

    James

    Hiya

    Did you want to control what different users see on the blog side or the admin side?

    James

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