The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
2answers
217 views

Remove image height/width attributes from Image Widget

The Image Widget includes width and height on the images which I've unsuccessfully have been trying to filter out so I can have fluid width. I've tried the following, which seems to be the most ...
1
vote
1answer
143 views

Shortcode displays only default attribute values

For some reasons every shortcode, that I try to add to functions.php, displays only default attribute value and ignores what I specify in a post. E.g.: function my_shortcode( $atts ) { extract( ...
0
votes
1answer
35 views

WooCommerce Attribute Display Issues

am using WooCommerce for a website however I have an issue with the products attributes. I haven't seen this issue before, the attributes and variations have all been created however on the frontend ...
0
votes
1answer
79 views

Woocommerce: Any way to list all products *without* a specific attribute?

We're going back through an existing site and adding attributes to the products, but we need a way to verify that every product has gotten them. Is there any method or function call that will give ...
0
votes
1answer
242 views

Delete all per-product attributes in WooCommerce

Is there a method to find & delete most/all attributes for products in WooCommerce when these attributes are unique to each product, that is they don't appear under the Product->Attributes menu? ...
0
votes
1answer
110 views

Remove all link title attributes

After reading this and this, I want to remove the title attribute from all links of my blog, as that is good from accessibility point of view. How this can be achieved? UPDATE I found a solution how ...
0
votes
1answer
169 views

How can I define the output of shortcode attribute value?

I would like to create a shortcode that has predefined output for attribute values. For example: [shortcode att="value1"] output = <div id="value1">Predefined content for value1</div> [...
0
votes
1answer
424 views

Input with spaces in Shortcode attributes overwritten by defaults

question seems to be similar to the one asked here but the answer went down a different path. Pretty much if a user enters a shortcode attribute with a space it will get overwritten by the default ...
0
votes
1answer
410 views

Passing variable in nested shortcodes

How can I pass style attribute of [boxes] shortcode to [box] shortcodes without using global variables? I don't want to use global variables, because I saw on a few articles that using global ...
0
votes
1answer
58 views

Problem Locating and Changing Alt Attribute Of Link

I'm a totally amateur so please dumb it down for me. My WP them has a Social Links in the header of the theme and I want to change the Linkedin link link to a Pinterest link and change the Alt ...
-1
votes
1answer
126 views

Pragmatically adding product attributes to WP / Woo commerce

I am inserting a quantity of products, categories and attributes to a wordpress database. My method is to copy a selection of source data tables from my off-line database (not in wordpress format) ...
1
vote
0answers
417 views

Add ALT attribute to Pin It Button image to pass HTML5 validation

I am using the Pinterest "Pin It" Button plugin so I can add to my posts/images. However, part of the Pin In button uses this code: <img border="0" class="pib-count-img" src="//assets.pinterest....
0
votes
0answers
15 views

WP REST API - Remove Style attr after updated post

Like I want to put some content like : <div style="background-image:url(example.jpg)"></div> So after saved : <div></div> I using something like : function ...
0
votes
0answers
37 views

Cloning terms for an attribute

I am trying to duplicate terms for a product attribute. I was able to set up a "Clone" link from my previous question. I can successfully clone the attribute, but I am having trouble assigning ...
0
votes
0answers
22 views

Parent Under The Page Attribute WordPress 4.2.2 Is Missing

Parent under the Page Attribute panel of WordPress 4.2.2 is missing. At first I thought because I am using Child Twenty-Fourteen theme instead of the parent might be be the cause it. But the problem ...
0
votes
0answers
15 views

Shortcode Attribute contains clone of all shortcode attributes

This is easily the strangest thing I have see wordpress perform. I have a shortcode, we'll call it my_foo . We'll say it has several attributes, bar_one, bar_two, bar_three . This shortcode is part ...
0
votes
0answers
75 views

Add custom dynamic attributes to menu items

Hello I would like to add a data-hover attribute to each element in a specific Wordpress menu. I found the following on the codex. However I don't know how to call each specific nav item to have the ...
0
votes
0answers
63 views

Add custom attributes to the individual blog table in multisite

I am adding custom product attribute to a multisite network. Currently the added custom attributes save on the default WordPress database. I have to store the data in corresponding blog database table ...
0
votes
0answers
168 views

TinyMCE editor for woocommerce product attribute

I am creating a custom product attribute by a use of a plugin, but there is a problem that it outputs a simple textarea. What I need is either a TinyMCE editor or some simple editor with a possibility ...
0
votes
0answers
42 views

how to manually change the loop to just show images and their attributes?

I want to change the behavior and styles of the Wordpress default image gallery. I mean, I don't want to just call the loop to show all images in a post/page gallery with default attributes and ...
0
votes
0answers
251 views

Using get_terms() as shortcode attribute

Hop you pepople would be fine. I'm creating a shortcode with the following code. $categories = get_terms( 'project-type' ); foreach ($categories as $category) { $portfolio_terms[$category->...
0
votes
0answers
208 views

Remove “align” attribute on images

I'm trying to get rid of the non W3C compliant "align" attribute generated with any images. For that, I'm using the simple_html_dom library. Here's the code i'm using : add_filter( '...