WordPress template two columns: twentysixteen example

User avatar
axew3
w3all User
w3all User
Posts: 2689
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

WordPress template two columns: twentysixteen example

Post by axew3 »

Like this example, it is very easy:
https://www.axew3.com/w3/w3all_phpbb_two_columns/

Open /wp-content/themes/your-theme/page-forum(orWhateverYouNamedIt).php

you'll find inside this explain:
// END MAY DO NOT MODIFY

// Start a default WordPress page
// NOTE FOR CUSTOM phpBB iframe embedded PAGES (two columns etc)
// If you need to have a custom page forum you just need:
// Copy all the above until here, before the call to get_header();
// Than copy paste all the code inside <!-- START iframe div --> and <!-- END iframe div -->
// inside whatever element the iframe need to display (for example into <div id="primary" class="content-area"> on default WP twentysixteen theme)
Open the default page.php or template page you want insert the iframe into, to understand how to add the code, it's easy.

Here an example of the above twentysixteen page, with sidebar:
page-w3all_phpbb_two_columns.zip
(4.53 KiB) Downloaded 228 times
User avatar
DjPorkchop73
User www
User www
Posts: 80
Joined: Thu Aug 20, 2020 6:45 pm
Location: Egyptian Valley of Illinois

Re: WordPress template two columns: twentysixteen example

Post by DjPorkchop73 »

Ciao! Questo è molto carino. In realtà stavo cercando di trovare un modo per farlo. Grazie mille! (Google Translator)


Hello! This is very nice. I was actually going to try and find a way to do this. Thank you so very much!
If I could I would. If I don't, it's because I am lazy!

"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley
User avatar
DjPorkchop73
User www
User www
Posts: 80
Joined: Thu Aug 20, 2020 6:45 pm
Location: Egyptian Valley of Illinois

Re: WordPress template two columns: twentysixteen example

Post by DjPorkchop73 »

Here is my 2 Column attempt on my website. I still have a couple minor tweaks to make to the .css. I currently use the "Total" theme by Hash Themes. I really appreciate you taking the time to post about this. I really wanted to make mine a 2 column index. Thanks! Feel free to delete my link if it goes against your rules.

raybrowell.com/community/
If I could I would. If I don't, it's because I am lazy!

"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley
User avatar
axew3
w3all User
w3all User
Posts: 2689
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: WordPress template two columns: twentysixteen example

Post by axew3 »

Why never? Nice example!
I just edited your link, to be more nice, change it if you do not like and apply your link instead.

If some issue on adjusting the template, may post a topic and i will be glad to take a look on fly.

P.s Photography site absolutely require the new phpBB attachments images rotation 1.0.2 extension.
Faster then any other, non intrusive, preserve transparency, resolve the cache issue (never resolved before), secure.
Works now on in any way, post, edit and reply mode.
Simplify code, removing unwanted loops.

In iframe mode, there is a little change to do on code (that i resolved for the site that asked for this ext), if you want the popup appear right where it has been clicked, even on iframe.
A little addition will be done asap to make the popup customization, css/html, as more like.

You can test the result also here, where it has been installed.
The result will be this (rotate link is now a fontawesome icon):
Edit post.png
Edit post.png (15.1 KiB) Viewed 5017 times
C9E1imNXsAAv4gm.jpg
C9E1imNXsAAv4gm.jpg (61.71 KiB) Viewed 5017 times
User avatar
DjPorkchop73
User www
User www
Posts: 80
Joined: Thu Aug 20, 2020 6:45 pm
Location: Egyptian Valley of Illinois

Re: WordPress template two columns: twentysixteen example

Post by DjPorkchop73 »

I agree! I really like that plugin and I do have it installed on my photography website. 8-) It works really good.

On a side note, I do need to create a child theme today so I don't lose any files I modified in any future updates. I still have not done that yet. oops! :oops:
If I could I would. If I don't, it's because I am lazy!

"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley
Post Reply