#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
wpforo custom theme
 
Share:
Notifications
Clear all

wpforo custom theme  

    Last Post
RSS

hakira
Posts: 5
 hakira
Topic starter
October 6, 2020 11:51 pm
(@hakira)
Active Member
Joined: 4 months ago

Hey there, ive been reading documentation about theme and customize and so on

It says to create a new folder and copy only the files that we will replace in the custom theme

however i have a question that i dont see any anwser at all

what if i update the plugin i will lose my theme?
Or the wpforo theme folder should be in my theme folder?

If so, in this case, im using Oxygen builder and i dont use a theme, oxygen disable all the themes by default
Only thing i can use is code snippets

im thinking if there is a way to create a "child plugin?????"

Topic Tags
theme theme integration oxygen
8 Replies
Alvina
Posts: 1883
Alvina - Facebook Alvina - Twitter
 Alvina
Moderator
October 7, 2020 10:31 am
(@alvina)
Member
Joined: 1 year ago

Hi @hakira,

what if i update the plugin i will lose my theme?

Please don't worry nothing will be lost. As described in the THEME CUSTOMIZATION documentation, the copied file will now automatically override the wpForo default theme file. All changes in this file will not be lost on the forum update.

IMPORTANT: Do not edit these files within the core plugin itself as they are overwritten during the upgrade process and any customizations will be lost.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
2 Replies
hakira
 hakira
(@hakira)
Joined: 4 months ago

Active Member
Posts: 5
October 7, 2020 8:52 pm
Reply toAlvinaAlvina

@alvina

okay, i understand that, however, as also i mentioned, i have a little problem from my side.
I am using Oxygen Builder, and i do not have a theme at all. Oxygen dont use them

Even to use functions.php is needed or a custom plugin or something like code snippets
However, there is a custom plugin, that allow to write / override templates from woocommerce, but it dont work out of the box with wpforo ofc

Im wondering if something can also be changed here, to make it work with wpforo
i gonna put here the code

Spoiler
Source Code here
<?php

/*************************************************

Add your custom PHP code inside this PHP file

*************************************************/

add_action( 'after_setup_theme', 'pauloxyb_after_setup_oxyb' );

function pauloxyb_after_setup_oxyb() {

//* Allow to override WC /templates path

add_filter( 'wc_get_template', 'pauloxyb_wc_template', 10, 5 );

add_filter( 'wc_get_template_part', 'pauloxyb_wc_template_part', 10, 3 );

}

function pauloxyb_wc_template( $located, $template_name, $args, $template_path, $default_path ) {

$newtpl = str_replace( 'woocommerce/templates', basename( POXYB_DIR ) . '/woocommerce', $located );

if ( file_exists( $newtpl ) )

return $newtpl;

return $located;

}

function pauloxyb_wc_template_part( $template, $slug, $name ) {

$newtpl = str_replace( 'woocommerce/templates',basename( POXYB_DIR ) . '/woocommerce', $template );

if ( file_exists( $newtpl ) )

return $newtpl;

return $template;

}

if something could be done, to load the wpforo custom theme from this plugin folder, then it might work
how i can call wpforo from another folder beside the theme folder

Reply
Alvina
 Alvina
Moderator
(@alvina)
Joined: 1 year ago

Member
Posts: 1883
Alvina - Facebook Alvina - Twitter
October 8, 2020 7:46 am
Reply tohakirahakira
Alvina

@hakira,

I've just asked our developers about it and currently, I'm waiting for the response from them. I'll update the topic once I get some news for you.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
CrisW
Posts: 281
 CrisW
October 8, 2020 7:55 am
(@crisw)
Reputable Member
Joined: 2 years ago

Hi @hakira , 

Have you tried the Forum setting which will "disable WordPress on front-end. Only forum pages and excluded post/pages will be available. wpForo will look like as a stand-alone forum."? 

If not, you can test it out and try it by going to 

  1. Forum Dashboard, 
  2. General 
  3. Then on the "Forum Base URL area, you will see a box  Turn WordPress to wpForo
  4. Then scroll down to "Update Options"
  5. On the Front end, press Control Key + F5 to refresh the page. 

 

More info here: 

https://wpforo.com/docs/root/getting-started/forum-page/turn-wordpress-to-wpforo/

Good luck and God bless you! 🙂 

I'm just a member here who used to be a newbie.

The case: When I actually put my keyboard where my forum is, and became #172. Can you imagine if you had to build this forum yourself? How kind and patient will you be? The best way to say thank you is say it, write it, and then head on over at Wordpress plugin page and rate wpForo 5 stars - by clicking here.

Reply
1 Reply
hakira
 hakira
(@hakira)
Joined: 4 months ago

Active Member
Posts: 5
October 8, 2020 2:54 pm
Reply toCrisWCrisW

@crisw you dont get it my friend

I am able to render wpforo and use wpforo
I dont want change anything to make it my frontpage or change wordpress theme, i want a custom wpforo theme, that will apply only to wpforo wrap

The thing is, Oxygen Builder "disable wordpress theme" he dont use wordpress themes at all, means no 2020 no _s no nothing

Reply
Alvina
Posts: 1883
Alvina - Facebook Alvina - Twitter
 Alvina
Moderator
October 8, 2020 12:12 pm
(@alvina)
Member
Joined: 1 year ago

@hakira,

Even if you say that you use the Oxygen Builder, and do not have a theme at all, however, please note if you use WordPress that means that you have a theme as well. You just need to find the WordPress theme, follow all steps described in the doc provided below, copy the certain or all files from /wpforo/wpf-themes/ directory into a folder within your current active WordPress theme named /wpforo/, keeping the same file structure.

https://wpforo.com/docs/root/forum-themes/theme-customization/

But please note if you update your WordPress theme all customization will be lost. So please keep it somewhere.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
2 Replies
hakira
 hakira
(@hakira)
Joined: 4 months ago

Active Member
Posts: 5
October 8, 2020 2:52 pm
Reply toAlvinaAlvina

@alvina

Hi, im sorry but i cannot do that, Oxygen Builder dont use theme.
I do not have any active theme with Oxygen builder.

Oxygen builder disable wordpress themes at all take a look here please

Anyway, i can try do that with the 2020 and see, if it will load from there anyway, 

thx for ur support

Will my theme work with Oxygen?

No. Oxygen completely disables the WordPress theme system. This means that while your theme won't conflict with Oxygen, its styles and layout also won't be applied to your site while Oxygen is active.

 Screenshot_12.png
Reply
Alvina
 Alvina
Moderator
(@alvina)
Joined: 1 year ago

Member
Posts: 1883
Alvina - Facebook Alvina - Twitter
October 9, 2020 8:13 am
Reply tohakirahakira
Alvina

@hakira,

Make small customization(in the folder provided in the above screenshot), following the customization doc, and see how it work. We think it will work.

https://www.screencast.com/t/5wSBTUe3Tt

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
  All forum topics
  Previous Topic
Next Topic  
Related Topics
  • Changing to a threaded layout
    2 weeks ago
  • How to Edit the Default Forum 404 Page
    1 year ago
  • How to change the width (padding) of body content?
    2 years ago
Topic Tags:  theme (11), theme integration (3), oxygen (2),

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages  wpforo-advanced-attachments-128x128  wpforo-embeds-128x128 wpForo User Custom Fields addon  wpForo – Blog Cross Posting addon  wpForo Ads Manager
View all Addons »

Recent Topics

  • Editing/Deleting Replies

    By dlingbloom, 8 hours ago

  • Forum not responsive on phone

    By augmentum, 14 hours ago

  • Usergroups - confused

    By danniee, 15 hours ago

  • 2 feature requests - CAD file attachment and multi-photo embed support

    By RogueFab, 15 hours ago

  • Ability to reply without signing in

    By eel, 1 day ago

  • Reset_password_url

    By mahirbarut, 2 days ago

Topic Tags

  • new features43
  • seo39
  • translation36
  • plugin conflict35
  • forum34
  • login32
  • buddypress31
  • threaded layout30
  • registration29
  • moderation28
  • ultimate member28
  • editor25
  • avatar24
  • shortcode24
  • tags22
  • css22
  • menu21
  • migration20
  • url20
  • profile20
View all tags (1478)

Recent Posts

  • RE: Translation

    @tutrix I tried to amend My Media in Forums > Sett...

    By pyue6299, 2 hours ago

  • RE: Usergroups - confused

    @danniee, wpDiscuz is a comment plugin and it display...

    By Robert, 3 hours ago

  • RE: Editing/Deleting Replies

    Hi @dlingbloom, All users have Edit, Delete and Reply...

    By Robert, 3 hours ago

  • RE: 2 feature requests - CAD file attachment and multi-photo embed support

    Hi @roguefab, Thank you for the detailed request. I t...

    By Robert, 3 hours ago

  • RE: Database question

    Hey, How can i reset the statistic? i removed everyth...

    By adriaan, 9 hours ago

  • Forum not responsive on phone

    I have wpForo installed on my site iuec90.com When on...

    By augmentum, 14 hours ago

  • RE: My wpforo looks tiny width

    Нужно как у вас  02.jpg

    By Read, 15 hours ago

Share:
  Forum Statistics
20 Forums
7,819 Topics
39.2 K Posts
7 Online
15 K Members

Latest Post: Translation Our newest member: harryporter Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2021 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Documentation