Quantcast
Channel: Topic Tag: plugin | WordPress.org
Viewing all 26892 articles
Browse latest View live

edtiley on "Undefined Function Fatal Error In Plugin Class"

$
0
0

Building a plugin using Class structure.

Want to display the result of a formula, so I created a public function so it could be done as needed. Something like:

public function foo($x,$y) {
   return strval(($x+$y)*2.2) ;
  }

I keep getting an undefined function. Finally I put the function in functions.php and it works like a champ. So it's obvious the function isn't getting loaded.

I've tried using init and plugins_loaded in add_action calls, but the function is still not available.

Surely there's a fairly simple way of making the function available inside the plugin without having to hook it. Isn't there?

TIA
Ed


Richard Archambault on "[Plugin: Jetpack by WordPress.com] Top Posts & Pages Only Showing One Page"

$
0
0

Hi there, it does look to me that this could be the source of the issue, because everything else seems normal. You could try turning off W3TC and Minify for a day to see if that fixes it. Let me know how it turns out!

MariaL-Canada on "Plugin for different page widths?"

$
0
0

Thank-you once again for your help!

I installed the child theme plugin, created a child theme, installed Firebug, did a lot more Googling with some trial & error to understand what I was looking at and found the element (?) that I needed to add and edit in my child theme (it was #innerrim).

Very grateful!
Maria

jim333 on "Editing Plugin CSS options"

$
0
0

I edited plugin CSS, but later on I learned that with any plugin update my edit will be erased. Should I edit the theme style or should I instal plugin to handle CSS additions to plugin?

Any suggestion or suggestions which plugin to use for CSS additions?

Thank you,

WPyogi on "Editing Plugin CSS options"

$
0
0

Editing the theme style.css file has the same problem. So you could either make/use a child theme - and put any changes to any CSS (theme or plugin) in the child theme style.css file. Or you could use a CSS plugin - I think Custom CSS Manager is a good one.

jim333 on "Editing Plugin CSS options"

$
0
0

I used CSS Manager its working great.
Thank you,

KandreSparks on "White screen when trying to use WordPress Importer plug-in"

$
0
0

I have searched the forums and it seems like plenty have had a similar issue. I have tried all that is mentioned and nothing has worked.

I am trying to use the WP importer plug-in. I click in the import section and select WordPress than nothing happens. I just get a white screen. I switched back to the twenty twelve theme to test if it is a theme specific issue...I got an error message as opposed to the white screen. The error message is "Fatal error: Cannot redeclare install_wtwp() (previously declared in D:\Hosting\11211779\html\wp-content\install.php:36) in D:\Hosting\11211779\html\wp-content\install.php on line 93"

I have no idea what this means. I am not super savvy when it comes to this type of stuff.

Please help.

TIA for your time!

sioy on "How can I categorize my pages?"

$
0
0

I'm building a site with mostly pages so that it looks suitably web-sitey (rather than like a blog).

I would like to be able to categorize my pages (like you can with posts), this would make it easier to organize my menus using Display Widgets plugin which would allow me to specify which category a given menu appears on.


Knut Sparhell on "How can I categorize my pages?"

$
0
0

The looks ("sitey" or "bloggy") of a site is not determined by whether you use posts or pages, but by your theme and whether you use a static front page or not.

Use posts and you can categorize.

Then you may ask questions on how to have this or that effect or functionality using posts. There's always answers to that, because there is nothing with pages that can't be done with posts. The very definition of pages is that they are like posts, without taxonomies, publishing date an author. Posts may even be put hierarchically into a navigation menu.

sioy on "How can I categorize my pages?"

$
0
0

Many thanks, it is exactly those 'taxonomies' that make it look bloggy – perhaps if they could be stopped from displaying (with a widget?).

greatdex on "[Plugin: User Meta Manager] Foreach error when editing metadata"

$
0
0

could you explain why that happened? and solved?
since i have some similar experience in my code..

W.P. Ginfo on "Plugin for different page widths?"

ianhaycox on "Undefined Function Fatal Error In Plugin Class"

$
0
0

If foo() is in a class are you calling it correctly ?

e.g. within the plugin class,

$this->foo();

or from outside the class, you need a class instance,

$x = new MyPluginClass();
$x->foo();

or make foo static,

MyPluginClass::foo();

Once foo() in is functions.php, depedning how it's declared, foo() is probably in global scope, so just calling

foo();

would work.

Ian.

W.P. Ginfo on "White screen when trying to use WordPress Importer plug-in"

$
0
0
  1. Use FTP to access your site
    bv. http://filezilla-project.org/download.php
  2. rename all plugins by putting a '0' in front of each plugin -folder;
    ../wp-content/plugins
  3. Check if the access has been restored
  4. If so: one-by-one, remove the '0', checking every time to see if the problem re-occurs.
  5. when the problem re-occurs, you've found the source of the problem; Delete and find a similar plugin that works with your site
  6. alternatively: FTP:Delete; Then download and install / activate a NEW version of the problematic plugin and see if this works.

ipodoordopjeskopen on "Problem with SEO titel YOAST Plugin"

$
0
0

I have a question regarding the SEOtitle. In google my metatitle shows "name of product - name of site" and i want it to show only the SEOtitle that i have giving it in the plugin of Yoast. How can i make this work so that i only see the seotitle of Yoast's plugin in google?


ipodoordopjeskopen on "[Plugin: WordPress SEO by Yoast] Problem with SEO titel"

$
0
0

I have a question regarding the SEOtitle. In google my metatitle shows "name of product - name of site" and i want it to show only the SEOtitle that i have giving it in the plugin of Yoast. How can i make this work so that i only see the seotitle of Yoast's plugin in google?

http://wordpress.org/extend/plugins/wordpress-seo/

rjrandolph on "[Plugin: WooCommerce - excelling eCommerce] USPS Shipping Methods Plugin - Where To Setup Box Sizes"

$
0
0

I purchased the USPS Shipping Method Plugin and have a question on the settings.

I enabled "Flat Rate Boxes" (the method my client wants to use). According to the documentation, the box sizes are to set up. Please clarify...

http://www.screencast.com/t/ymTznOJux

1. Are the box sizes referred to the flat rated boxes used by the USPS?

2. Where in the plugin's settings is the "Box Settings?

http://www.screencast.com/t/beeIyqoZERY

I've looked everywhere, but don't see this section at all. I may have overlooked something, but just can see it.

(Please don't refer me to the Support Desk; been waiting over 2 days for an answer to the ticket I put in, and my client in waiting, now impatiently, for me to finish this project).

http://wordpress.org/extend/plugins/woocommerce/

vividwebdesigns on "woocommerce tabs"

jcpcosta on "[Plugin: WP Forum Server] need a portuguese translation...any?"

livelovepasta on "[Plugin: Jetpack by WordPress.com] Top Posts & Pages Only Showing One Page"

$
0
0

I never deactivated my WP Minify plugin to find out but I'm sure that is the reason. It was working great before, and you can literally see the exact day where Jetpack stopped recording visits. I just don't want to sacrifice site performance for an unnecessary widget to function properly.

It would be great if you could assign your own Top Posts and Pages with either a Tag or unique Category that would in turn display your selections in a grid view.

Viewing all 26892 articles
Browse latest View live