The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
62 views

Extending Shortcode attributes

I've searched many places and tried many ways for this but no success. I have a shortcode in my WP Theme like; [recent_posts layout="thumbnails-on-side" columns="4" number_posts="4" offset="" ...
0
votes
0answers
8 views

Alter plugin without losing changes after update [duplicate]

I have got a photo gallery plugin that is displaying different albums. It is displayed by album thumbnail and title, however only the thumbnail is clickable so I have changed a view php file to get an ...
0
votes
0answers
18 views

Extendig Media Manager Image options

Is it possible to extend Media Manager Image advanced options like adding and injecting custom options. In my case I try to add angular directive names <img src="http://lorempixel.com/1000/600/" ...
0
votes
1answer
96 views

Extending the WP_Widget_Text class

I am trying to alter the output of the default WordPress text widget. Since the widget is written in OOP I hoped it could be a simple deal of extending the class and overwriting one method – but it ...
0
votes
1answer
185 views

How to get private property in parent class into extended class?

I am not sure if my function is firing before another funciton or if I am having issues with the $this variable when I am extending my class. I am creating a function in my functions.php file. Here's ...
0
votes
0answers
21 views

Where do I add my own configuration needs and how do I access them?

Somehow despite having been developing web sites since the late 90's I'm only now working on my first WordPress site. And I'm having a bit of trouble understanding the organization of WordPress and ...
0
votes
1answer
286 views

Extend walker - navigation, adding data attribute to a tag

I would a data attribute to the a tag in the menu, like have <a href="#example" data-attribute="attribute">CLICK</a> I know that I have to extend the Walker BUT I tried in several times ...
0
votes
0answers
37 views

wp_customizer control default value = 100 - control value

Within WP_Customizer I have two controls for setting the width of the main-column and the width of the sidebar. The default value of the main-column control is 77 and I'd like to set the default ...
0
votes
1answer
180 views

Extend WP_Customize_Control with Multiple Field Control

I'm trying to figure out how to code a custom control but frustratingly all the information I find online points to the same example of creating a single textfield. I'd like to create a custom ...
0
votes
1answer
116 views

New checkbox in custom widget isn't saving data

I'm trying to develop my own widget. Mostly cause I want to understand Wordpress functionality (yes I'm completely new. First ever try to extend wordpress) I want to add a function to display post ...
1
vote
1answer
356 views

How do I extend one plugin I'm writing with another I'm writing using classes?

I have a set of plugins that do different things. I'm wanting to write a plugin with a class I can extend in each of my custom plugins to meet a common goal. In my "socket" plugin I have something ...
1
vote
1answer
165 views

Extending WP_Widget throws error when Monster Widget used

I wanted to override the output for the core Recent Comments Widget. I extended WP_Widget_Recent_Comments made the changes needed and it displays exactly how I want. However, I have now tested the ...
0
votes
1answer
41 views

Can WordPress handle following functionalities?

Now i am planning a development of a new web site and searching for a CMS. I know WP not bad, but never tried to build a complex community information site using this engine. Among basic requirements ...
1
vote
1answer
2k views

Extending WC_Cart in woocommerce

I am trying to extend WC_Cart in woocommerce, from what i understand my code should be correct. However when I load the cart I get the following message. Fatal error: Call to undefined method ...
0
votes
0answers
162 views

Extending wordpress search to include excerpts and taxonomies?

Apologies for the lack of code, but I have no idea where to start with this - is it possible to extend Wordpress's search function to include excerpts and (custom) taxonomies as well as the standard ...
3
votes
1answer
119 views

How to create extendable wordpress plugins

I have a generic question that I would like to ask. How do we go about creating an extendable wordpress plugin. I would like to create a plugin that I can easily allow new extensions to be hooked up ...
0
votes
1answer
546 views

how to extend a WP_widget twice

Has someone ever tried to extend calss WP_Widget, then extend it again ? Having to related widgets, I tried to create the first extending WP_Widget, : class FirstWidget extends WP_Widget { public ...
1
vote
1answer
70 views

wordpress.org codebase

Is the codebase that runs wordpress.org publicly available? Specifically, I'm interested in the part that parses the plugins SVN repository to determine the current and past versions of plugins. I ...
-1
votes
1answer
284 views

Extending Widgets - Exclude # of posts field from Recent Posts Widget

I am currently using this code to extend WP_Widget_Recent_Posts, but I would like to exclude the field that gives the user the ability to show how many posts they want. I have a set number in my ...
1
vote
1answer
279 views

Setting up widgets in wordpress with a unique ID for the after_title argument

I try to get the collapsible-widget-area plugin so that every widget it creates inside the collapsible area has a unique id <div> after its title. function get_args() { $this->args = ...
0
votes
1answer
1k views

Extending core class in plugin

Hi I am writing a plugin and would like to extend a class in the wp-includes folder. I mean that literally like class my_class extends wp_includes_class_x{ ... } However when attempting this I get ...
4
votes
3answers
386 views

Plugin (or Theme) containing its own Plugins?

My Theme defines its own actions and filters so that it can be extended by third-parties without having to fork or modify the Theme's core code. I already have a few plugins specific to my Theme, ...
0
votes
1answer
877 views

Change how WP e-Commerce calculates price total at checkout [closed]

My situation: I'm selling a few products. I need to get some options at checkout (like Do you want to add installation services?) that will affect the price, and I need to reference a custom ...
0
votes
1answer
175 views

Custom Module, Extending WP with a Plugin?

I'm trying to determine the best way to expand on WP. I love the base of WP for a website... it has pretty much everything needed for a website. But now and again I need to be able to create some ...
0
votes
1answer
463 views

Extending Twenty Eleven Theme

In WP 3.3, how can I extend the Twenty Eleven theme such that I can make some custom additions or modifications but still take benefit in the updates that WP pushes out for the theme? Sort of like ...
1
vote
1answer
1k views

How to extend a class in WordPress?

I am ussing bbPress and want to extend the BBP_Shortcodes class in order to replace a function with my own. Here is my basic snippet which seems to do nothing: class WPTUMBLE_Shortcodes extends ...
2
votes
2answers
83 views

When developing a distributable Theme, does it HAVE to be “inheritable”?

I'm currently developing a complex Theme (or framework, if it can be called that) for my own personal use. However, in the event that it becomes appreciated to the public - does it necessarily HAVE ...
-1
votes
2answers
785 views

Add some fileds to the wp_posts table

I need to extend some wp tables (wp_posts, wp_comments, wp_users) to store some additional fields. I can't use metadata because I need to query those values directly via MySQL. I need an help to ...
2
votes
3answers
1k views

How can i increase the login expiration length?

As the title says, how can i increase the login expiration period? Running a local install it's a little annoying to have to keep logging in, despite the fact i have the browser remember login ...