Giter Club home page Giter Club logo

oceanwp's Introduction

OceanWP

Contributors: The OceanWP Team Requires at least: WordPress 5.6 Tested up to: WordPress 6.5.5

Stable tag: 3.5.8 Requires PHP: 7.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Tags: two-columns, right-sidebar, footer-widgets, blog, news, custom-background, custom-menu, post-formats, rtl-language-support, sticky-post, editor-style, threaded-comments, translation-ready, buddypress, custom-colors, featured-images, full-width-template, theme-options, e-commerce

Description

OceanWP is a versatile and complete Multi-Purpose WordPress theme, designed and built by OceanWP to help you create outstanding and unique websites for every occasion with no limits. It's available to download for free at the site OceanWP.

No matter how big or small, demanding or simple your blog, web page or eCommerce website is, OceanWP has got you covered.

For developers, OceanWP is the perfect starting point for absolutely any project. It's clean, and the extensible codebase allows to easily add functionality to websites via the child theme and/or custom plugin(s).

OceanWP extensions

Looking to take your website to the next level? Be sure to checkout the premium OceanWP extensions.

OceanWP help & support

Customers can get support at the OceanWP support page. Please remember, GitHub is for bug reports and contributions, not support.

Contributing to OceanWP

If you have a patch or have stumbled upon an issue with OceanWP core, you can contribute to the code. Please read our contributor guidelines for more information about how you can do this.

oceanwp's People

Contributors

alexdeborba avatar davideprevosto avatar dbarreiro avatar eramits avatar farzadocean avatar fstarlike avatar helgatheviking avatar jeffreyzinn avatar johnabelardom avatar markhollo avatar nicolas-owp avatar nicomollet avatar pratikrm avatar rajeebbanstola avatar seb86 avatar shervelmi avatar taliesinpenbardd avatar web-devise avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

oceanwp's Issues

OceanWP issue on editing

when accessing the dashboard on my account,
and try to edit my pages,
About me
Contact me
, all of the wordings are all on the vertical portion.
Please check.

img_2199

Breadcrubms disappear.

Hi, I dont know what happed, but my breadcrumbs disappear. I already checked the box at page tittle, but not happens.

Custom title

I try to put a custom title on the Blog page using the OcenWP setting on the page

image

but nothing changes on the page, the name remain the menu/page name

image

if instead i input something in Subheading field it appear under the "Blog" works correctly.
There is a locking parameter somewhere that not allow me to change the Page title default name?

ty

Single Post Blog Title heading

Hi, i noticed when I read a single blog post , the title is an H2 (must be H1 for SEO).
Is possible to change to H1 so the page have an H1?
Looking in the configurator i was able only to find how to change position of elements:

image

I dont know if i'm lost and there is some option to change somewhere but could be nice for SEO to have in the blog post single page the H1 title

image

Ty

Custom css enqueue code needs update for custom wp folders

I just found out that when selecting Custom File in General Styling > Styling Options Location the theme tries to enqueue the css file from the default uploads folder (wp-content/uploads) which is hardcoded.

Not all wp installs have the default folders, which breaks the site's styling options.

wp_enqueue_style( 'oceanwp-custom', get_site_url() .'/wp-content/uploads/oceanwp/custom-style.css', false, null );

Problème récurent d'apparence du site

Bonjour,
J'ai régulièrement des soucis d'apparence de mon site fait avec OceanWP. J'aime énormément OceanWP, mais de temps en temps, assez régulièrement, lorsque j'ouvre mon site, j'obtiens une apparence plutôt embêtante ..

capture

La présentation "normale" devrait être ainsi

capture2

Je ne suis pas expert en code, css et autres, merci de votre aide !
Cordialement, Jean-Gabriel

Ocean-Extras Color Palettes

In wp-color-picker-alpha.js the colors are locked in and add_filter( 'ocean_default_color_palettes, ... doesn't work.

Request that you comment out or remove line 209 in wp-color-picker-alpha.js:
// colors = ['#000000', '#ffffff', '#f44336', '#E91E63', '#03A9F4', '#00BCD4', '#8BC34A', '#FFEB3B', '#FFC107', '#FF9800', '#607D8B'];

Microdata problems

I still evaluate the theme checking some demo and how the microdata are inserted inside the page, and I've many question to ask because i've found some errors:

  1. first, is possible to disable in BO the microdata feature?
  2. checkign with google microdata structure testing tool, there is an error: https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Fsimple.oceanwp.org%2Fshop%2F
  3. checkign a blog post there is an error like other blogpost: https://simple.oceanwp.org/duis-sagitis-ipsum-prasent/

For production i prefer to disable the microdata feature and use an external plugin for JSON-LD version.
Is that possible?

Debug log warning when using customizer with Ocean WP

I get this PHP warning in debug.log if I open the theme customizer while using Ocean WP:

PHP Notice: Array to string conversion in .../wp-includes/formatting.php on line 1031

I don't get the error if I, for example, open customizer when twentyseventeen is active.

oceanWP hooks conflict with elementor

I would like to use a custom header and footer for my site using the elementor or oceanWP library.

The problem is that when I change the header of my site using OceanWP library, the elementor does not load, it is stopped in the loading screen with the logo.

If I use hooks it also conflicts. This is all updated, I'm using the latest version of elementor and elementor pro, and also the latest version of OceanWP and oceanExtras.

If I use the standard OceanWP header conflict does not happen, the elementor loader page works normally, the problem is when I add hooks or change the header.

Existe alguma solução ?

here is a video with the problem: https://www.youtube.com/watch?v=NXWgxvy6MK0&feature=youtu.be

Thank you!

REQUEST: Adding "Blog Post Title" Heading

Thank you for the amazing theme, i would like to see in a next version a Add inside the Blog Post Title.
A possibility to select the Heading value (H1,H2,H3....Hn).
Actually is fixed to H2, that is not really correct for SEO, because normally the Title of any blogPOst must be H1.
image

Thanks

BUG: Elementor and Ocean Extra conflict

I've received many times this error:

post.php?post=67&action=elementor:5056 Uncaught ReferenceError: butterbean is not defined
at post.php?post=67&action=elementor:5056

I've tried to disabel all plugins and discovered that Ocean Extra has a conflict with the Elementor.
If i disabel OceanExtra the error not appear in console anymore.

I see that anyway i can continue to use the Elementor editor but i want to notice you of this problem in case you want to do a fix.
image

I still using WP 4.8.3 and latest version of Elementor and oceanWP

Cannot Write Custom Meta Data to Product Line

I am using a plugin that works on Avada and takes custom images uploaded by customers and adds them to their corresponding order. The images are conveyed to the backend system. For some unidentified reason, this function does not work either due to thematic issues or something introduced by version 3.3.3. Any help?

Page Layout Selection not working

None of the page layout theme mods in the Wordpress customizer panel are working. I try and select a different layout, but it never actually changes the layout. It is happening on both regular pages and archive pages and has been an issue on two different sites.

This is the theme mod I'm referring to:
screen shot 2017-07-01 at 23 35 34
However the archive page is still rendering with a stubborn right sidebar.

I am running Wordpress 4.8 with OceanWP 1.2.8.

Multisite url errors

I'm using a multisite install with sub-directories. With domain mapping enabled, ssl installed, and when viewing a blog archive/single with a featured image or related posts featured image, the url of the image is pulling from the multisite home domain instead of the mapped domain. Like this:

https://www.home-domain.com/sub-site-name/wp-content/uploads/sites/[site number]/image-name.jpg

when it should be:

https://www.sub-site-domain.com/wp-content/uploads/sites/[site number]/image-name.jpg

This causes a GET 403 error.

Flex CSS rules not valid once minified

Hello (again),
It looks some CSS generated by OceanWP is not valid/standard.

See my website https://www.restaurant-caphorn.fr/, it has WP Rocket and Minify active.

The following CSS is generated by OceanWP on the main logo (works on Chrome lastest version):

#site-header.medium-header .top-col.logo-col{
    -webkit-flex: auto 0 0;
    flex: auto 0 0;
}

which once minified/compressed and is becoming (doesn't not work on Chrome lastest version):

#site-header.medium-header .top-col.logo-col {
    -webkit-flex: auto 0 0%;
    flex: auto 0 0%;
}

flex: auto 0 0%; is not valid CSS, so it breaks the alignment. (FYI I overrided the rule on my website to fix it).
Minify author told me the original CSS from OceanWP flex: auto 0 0; is not standard. See his explaination on matthiasmullie/minify#235

What to you think?
Nico

[Feature request] [Bug] Feature suggestions & Bugs for Mobile Header, Sticky Header, Sidebar, Footer Callout, Etc.

Hi Nick!

Your theme is kickass! We just bought your extensions and they are absolutely worth every penny. Thanks for your efforts. Couple of feature suggestions though, in case it's not in the pipeline yet:

FEATURE REQUESTS:

  • Add option to set header height in mobile
  • Add option to set sticky header shrink height in mobile
  • Add option to hide sidebar in mobile (global and post-specific)
  • Add option to customize the Footer Callout button (such as size, padding, icon, etc.)
  • Add option to add links to all fields in the Contact Info widget (currently only the email and website are given the link option). Also add an option to the map section, to add image or google maps embed. Lastly, more customization with the icons.
  • Add more customization options to the widget titles (ex. hide line before text, set a different icon, etc.)
  • For the Theme Buttons option in customizer, is it possible to have it so that whatever styling we set there, will override the button styling that's being set by Elementor?

BUGS:

  • Some options in Typography are not being set when theme is paired with Elementor (ex. line-height for some headers, etc.)
  • Setting the Top Bar paddings to "0" is not being set. It just defaults to the original value. I believe it happens for some other options as well but can't remember.

Again, thanks for the great theme!

Parallax Footer Issue

Hello! I'm using the Megagym demo.
When I turn on the parallax effect of the footer widget, the background color of the site turns white, even when I change the color of the background, nothing happens.

Improvement and addition to links used to close the editor

The bottom left cross icon shows an option to return to dashboard and to view the page. This doesn't seem to be completely intuitive. There's no option to leave the editor without opening a new tab.
screen shot 2018-01-10 at 3 26 05 pm

Perhaps if the options were:

  • finish editing (goes to the page without editor enabled, in the same tab)
  • view page (opens in new tab)
  • page settings (opens page in wordpress dashboard)
  • go to dashboard (goes to the landing page of wordpress dashboard)

php warning when installing Ocean Extra after theme install

Hi,
I receive the following PHP Warning in PHP error log and WP Backend when installing Ocean Extra after theme install...

"PHP Warning: array_intersect_key(): Argument #1 is not an array in C:\laragon\www\testing\wp-content\plugins\ocean-extra\includes\panel\scripts.php on line 605"

Latest OWP Theme / Extra | Tested PHP 7.2.0, 7.2.1 / Laragon 3.2

thx!

stefan

Theme check problem.

Have you use theme check to check your theme?
I use it and see it do not ignore folder like node_modules and bower_components.
How can I deal with it?

social menu lost all of css

OceanWP 1.4.1

after upgrade to newest theme social menus lost it's css - it is displayed as standard ul list despite what checkboxes are selected in theme panel (menu types css)

Strange error from elementor

Hi,

i've discovered an error with Elementor (latest version) with oceanWP latest version on the blog page

image

if you give me your email i will send more info about.

Helpful additions to customizer

Enjoying using oceanwp in conjunction with elementor. A few things I would like to suggest be added to customizer:

  • headings 5 and 6
  • font sizes defined in em
  • styling controls for (gravity) forms

Don't use IDs as css selector

I noticed that you use a lot of ID in css. This is problematic because ID has more priority than classes in css forcing users to use !important. e.g:

div#red {
  background-color: red;
}

div.blue {
  background-color: blue; 
}

The result is a div with red background.


I also noticed that you use a lot !important in css, another thing that makes it even harder to extend the theme.


Any plans to resolve these issues?

Shortcode in ocean_library gets fatal error when saving in admin

Hello I am using the shortcode [oceanwp_woo_cart total=true] in an Ocean Library template.

When saving the post in the admin, I get a fatal error:
Fatal error: Uncaught Error: Call to a member function get_cart_total() on null in /wp-content/plugins/ocean-extra/includes/shortcodes/shortcodes.php:436

I guess WC()->cart is not defined in admin. Shouldn't we test the existence of the function, or simply add a condition if(!is_admin()){} in all the functions for the shortcodes?

Thank you

Suggestion for extra widgets naming

Hello,

Sorry if I post this in the wrong place.

This is related to Ocean Extra plugin.
At the moment, the widgets are named like » Custom Menu.

The » doesn't sound standard to me.
My suggestion would be to rename the widgets to OceanWP Custom Menu or Custom Menu by OceanWP.

Thanks for considering this.
Nico

[Feature Request/Question] update safe language files

Hi Nicolas,
as many seem to have troubles with this..

  1. Are the languages files in oceanwp/languages update safe, or will they be overwritten when one updates the theme (and there are new languages files provided by you)?

  2. If yes, I read here: https://localise.biz/wordpress/plugin/faqs/files-deleted that some themes provide an update safe place for language files.. Is there such a place in OWP?

  3. Or to make them update safe while using a childtheme, can I just copy the languages folder to the childtheme to make them update safe?

Thank you!

Have a great day!

stefan

Customizer options for displaying Site Title and Tagline ignored

I unchecked "Display Site Title and Tagline" in Customizer > Site Identity but they were still printed in the header.

The file responsible is oceanwp/partials/header/logo.php

Lines 55 and 66 output the title and tagline respectively without first using get_theme_mod to check the customizer setting, hence it has no effect.

I had a quick look with get_theme_mods() and I can't see the option saved any way, even though it is available in the customizer.

Typo in German translation (Copywright instead of Copyright)

There is a typo in the German translation file (de_DE.po).

"Copywright" should be "Copyright", since there is no such word.

The correct translation would be "Urheberrecht", but in the context of this theme "Copyright" is perfectly fine. There are three occurrences in the file.

Number List & Gallery CSS

On fresh addition or migration from existing to this theme has issues whenever :

  1. the Number List or
  2. the Images Gallery is added to posts
    css issue 1
    css issue 2

Anything with Lists breaks the Content Section.
-- Even the popular SyntaxHighlighter Evolved by Alex Mills (Viper007Bond)

PS: Kudos on the theme otherwise. Fast, Clean and Elegant even for a free theme. Keep up the good work.

Customizer | Page Title | BG Image height issue

Hi Nicolas,
guess I just found a bug.. In Customizer | Page Title | BG Image (no image set, only color overlay selected) -> when you change the height it shows fine within the customizer but the changes are not taken over when published.. The strange thing is that it worked fine, changing it a few times to different values and then it stopped working.. Now it is always height 400px (default) no matter what value I set in Customizer height..
but - E.g Color change etc. is still working..

I was able to make the height setting to be saved again with entering a bg image..

Thank you!

Greetings,

stefan

OWP Version: 1.4.16 /plugins (all latest)

Content padding settings not working

The content padding settings (Customize: General Options -> General Settings -> Content Padding), when set to zero, will update in the customize preview, but when I view the actual page, the padding is still set to 50px. I just tried 1px and that worked so I am guessing it's some check for a false-y value gone wrong.

Compatibility with Polylang (templates in the customizer)

Hello again,

I am working with Ocean and Polylang. (Not a fan of WPML...)

I see you already registered string for Polylang, it works as expected.

The problem I have, is with OceanWP templates selected in the customizer. For example, all the theme mods like ocean_footer_widgets_template.

How to reproduce

In the customizer, I select my "Footer FR" template for the field ocean_footer_widgets_template.
Image

With Polylang, I translated the "Footer FR" into a "Footer EN".
Image

I expected that "Footer EN" template would show up in my english version of the website, instead of the french template.

Suggestion

In https://github.com/oceanwp/oceanwp/blob/master/inc/helpers.php#L3789 you could do as:

function oceanwp_footer_template_content() {

	// Return false if disabled via Customizer
	if ( true != get_theme_mod( 'ocean_footer_widgets', true ) ) {
		return null;
	}

	// Get template ID from Customizer
	$content = get_theme_mod( 'ocean_footer_widgets_template' );

	// Get Polylang Translation of template
	if( function_exists('pll_get_post') ){
		$content = pll_get_post($content, pll_current_language());
	}

	// Get template content
	if ( ! empty( $content ) ) {

		$template = get_post( $content );

		if ( $template && ! is_wp_error( $template ) ) {
			$content = $template->post_content;
		}

	}

	// Apply filters and return content
	return apply_filters( 'ocean_footer_template_content', $content );

}

The other theme also need to be translated:
ocean_top_bar_template
ocean_top_bar_social_alt_template
ocean_vertical_header_template
ocean_vertical_header_bottom_template
ocean_header_template
ocean_menu_social_template
ocean_footer_widgets_template
ocean_error_page_template

Since you already partially support Polylang, it would be nice to have a complete compatibility.
Kind regards
Nico

Disabling "Main" Menu Assignment Impacts Social Menu in Header

Summary:

Unassigning the "Main" menu placement impacts the visibility of the social menu in the header block above.

How to Repeat:

  • Customize > Header > General -- Set Style to "Medium"
  • Make sure all three elements are visible (search box, logo, social menu)
  • (Verify that the social menu is visible, obvs)
  • Appearance > Menus > Uncheck the "Main" menu assignment.

What Happens:

  • The social menu disappears in addition to the main menu.

What Was Actually Expected:

  • Only the main menu should disappear.

Why is it possible to change the post layout from the url ?

Hi,

I am discovering your great theme and i have seen a strange thing in your code :

oceanwp/inc/helpers.php

Lines 291 to 294 in c44734e

if ( ! empty( $_GET['post_layout'] )
&& isset( $_GET['post_layout'] ) ) {
return sanitize_text_field( wp_unslash( $_GET['post_layout'] ) );
}

What is this code purpose?

Because of it, it is possible to change the post layout of any website using the theme.

For exemple : https://oceanwp.org/?post_layout=both-sidebars

"Your theme (OceanWP) contains outdated copies of some WooCommerce template files."

This is the error shown in my WP Admi, due to the known problem caused by Woo's update recently.

Will OWP become independent of this?

I have this quote from another theme dev, I hope this helps you: "Most of the themes available today have overridden WooCommerce templates. That means — anytime WooCommerce team make changes in the template files, the theme can break. Looking at this situation, I'm really glad about the approach we took of not overriding any WooCommerce templates; but using hooks instead. It was a bit more work, and less design freedom. But for crucial integrations such as WooCommerce, reliability comes first!"

Cheers @nicolas-owp

Customize forms select

When customizing forms (in Customize > General options > Forms (input - textarea), changing the background color, it only applies to input and textarea.

The generated CSS is:

form input[type="text"], 
form input[type="password"], 
form input[type="email"], 
form input[type="tel"], 
form input[type="url"], 
form input[type="search"], 
form textarea {
    background-color: #ffffff;
}

But the default OceanWP styles are:

form input[type="text"], 
form input[type="password"], 
form input[type="email"], 
form input[type="url"], 
form input[type="date"], 
form input[type="month"], 
form input[type="time"], 
form input[type="datetime"], 
form input[type="datetime-local"], 
form input[type="week"], 
form input[type="number"], 
form input[type="search"], 
form input[type="tel"], 
form input[type="color"], 
form select, 
form textarea{
    display: inline-block;
    min-height: 40px;
    width: 100%;
    font-size: 14px;
    line-height: 1.8;
    padding: 6px 12px;
    vertical-align: middle;
    background-color: transparent;
    color: #333;
    border: 1px solid #ddd;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

As you can see, form select, form input[type="date/month/time/datetime/datetime-local/week/number/color"] are not recieving the customized background color.
Is it possible to include select?

Thank you
Nico from Saint-Malo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.