0
votes
1answer
276 views

tiny_mce_before_init preventing custom shortcode icon appearing

I'm using the following to trim the TinyMCE editor // Restrict buttons on the rich text editor function formatTinyMCE($in) { $in['remove_linebreaks'] = false; ...
0
votes
1answer
65 views

How to use Greek characters/letters in a query?

I have a problem with Greek characters in a query. Here is the code Using the Greek characters in the 'meta_value' => 'Ναι' the query can't work, because of the language. How can i make it work?
0
votes
1answer
71 views

Use shortlink as permalink

I'm using Url shortener plugin with bit.ly API. When I use the bit.ly url, it's redirecting to my Wordpress permalink. How Can I use the bit.ly all the time ? I want the bit.ly url become the ...
0
votes
1answer
171 views

Get custom field from other post in carousel

Im using a plugin called wp carousel to display custom post types in a carousel in the footer in the singular view of posts. By default the plugin gets the featured image and the title of the post, ...
0
votes
1answer
83 views

Show 'add comment' link for status updates in Twenty Thirteen

I have WP 3.6 running on my server. After playing around with it, I noticed that it's not very intuitive to add comments to a status update; Guess how? After some thought, I have decided I would ...
0
votes
1answer
29 views

How to make my wordpress site responds for 2 domains

I have a Wordpress Woocommerce site running on www.mydomain.com.br and I'd like it to also respond for the domain srougi.biz/mydomain because my return page (page that users go after payment) must ...
0
votes
1answer
54 views

Include paths and functions for external scripts

I try load external script as plugin , the idea it´s use one easy plugin and call script and load this script into admin but i have problems with some configuration files and css files , in the case ...
0
votes
1answer
40 views

Change display wp post type to wp custom post type

i have this code below to display wp post based on category but what i want to display wp custom post called 'wiki' based on its category. CPT wiki is from plugin, so i think already defined. class ...
0
votes
1answer
256 views

Hierarchical permalink structure for posts showing categories and sub-categories

I'm having a lot of trouble finding an aswer to this. This is what happens to my permalink structure currently: When I open the page, filtering all posts for a category, the url is: ...
0
votes
1answer
154 views

W3 Total Cache, CDN and Custom Post Types

I have W3 Total Cache installed so that I can serve images from my live website to a local development version. Everything seems to be working as expected, apart from the URL rewrite doesn't seem to ...
0
votes
1answer
354 views

Update user meta on custom wordpress form and redirect

I have a fully functioning custom wordpress form that updates the user meta when they are logged in, however when I submit it just reloads the same page I am on, I am trying to get it to redirect to a ...
0
votes
1answer
210 views

Show all 12 months regardless they have posts

I need to show all months for a year for an archives page. All 12 months must be shown regardless of whether or not there are posts published for a month. Like this: Year: Jan Feb Mar Apr May Jun Jul ...
0
votes
1answer
191 views

Event Manager - How to get events for a custom taxonomy

I'm not a php programmer but i need to get events for a custom (already defined) taxonomy. I was trying to do that this way: $args = array { 'size' => 'big', } $EM_Events = EM_Events::get($args) ...
0
votes
1answer
31 views

Make datestamp for status updates show time

I have an installation of Wordpress 3.6 running on my server. Playing around with it, I found that 'status updates' don't show the time posted: Here's the thing: I want the time there too. ...
0
votes
1answer
412 views

Two Wordpress installations: One in root and one in sub directory - no images in subdir installation

The setup: I have two Wordpress installations. One in the root of the Server and one in a subdirectory, every installation has it's own database. The subdirectory installation is connected with a ...
0
votes
1answer
71 views

Change image link in excerpt to point to post

By default, images included in an article link to the full-size-image url. Having such an image in an excerpt shown on the start-page, because the more-tag was added after the image (which is ...
0
votes
1answer
135 views

Use admin options from parent theme in child theme

I am creating a child theme for the first time. I have created style.css (and imported parent theme's style.css in it) and also some new files and additional functions in functions.php. Now, I have ...
0
votes
1answer
121 views

Jetpack email sharing button to include image on email sent

I am changing the message for the email sent by modifying the sharedaddy.php file and have now spent hours trying to include the image attached to the post on the email. I tried adding the following ...
0
votes
1answer
137 views

How to permanent redirect old domain to new one. in case amazon store

How do I permanently redirect this url using .htaccess, so that if anyone views old web page, it redirects to the new one. For example: http://olddomain.com/folder/AmazonASIN.html --> ...
0
votes
1answer
118 views

How to callback custom field text

I have a plugin where the user can click a button to feature a post. I added a text field but i want the text field to call back whatever is posted in it Here is how it looks now ...
0
votes
1answer
157 views

Apostrophe and hyphen removed from title

I have a site where any Title of a Post that has an apostrophe or a hyphen ends up displaying to the site visitor as if those characters were not there. My permalinks are functioning just fine so I ...
0
votes
1answer
118 views

Hierarchical List Pages as a table

I need to generate a list of all Wordpress Pages and have them display in a HTML Table, that will be printed for offline use. First column is Blank Second column will have the Page Creation Date ...
0
votes
1answer
2k views

Sticky menu for WP custom menubars

This seems simple, except that I am not able to figure it out. In a wordpress theme, how can I make a custom menubar below the header image stick at the top after scrolling down the page? Example ...
0
votes
1answer
162 views

Pagination in category

Updated: I have 50 categories and i wants to show each 5 category on one page and next 5 on next page and next 5 on next page. and so on. with pagination. I have 50 categories in a WordPress site. I ...
0
votes
1answer
177 views

WP Query conflict on tag.php and category.php template

My WP_query in the header menu fails to pull any posts on tag and category pages only. Error occurs even with the Loop removed from those template pages. The menu in the header lists the parents. ...
0
votes
1answer
246 views

Remove limit in characters of blog posts?

Im changing my blog, so its not possible to click on the post, but only see them in the preview. How and where do i remove the limit of characters on the preview page? I'm using the Mystile ...
0
votes
1answer
27 views

dbDelta not doing what it says

Okay so I must have read hundreds of wordpress answers, google results etc on different people having trouble with dbDelta creating tables for their plugins. Ive tried many variations based off of ...
0
votes
1answer
36 views

Page template with custom html fields inside a content

I'm writing a custom page template and I want to do something like this: after typing tag inside page content, for example [custom-email-form] I want to place inside the content some html5 email form. ...
0
votes
1answer
279 views

Display posts order by custom post in a dropdown menu

In my WordPress backend I have some custom posts and, in one of them, I want to display in a dropdown field some posts related with but ordered by post type. Iwant to display something like this. ...
0
votes
1answer
44 views

Add new domain to 'My Sites' using network admin

Over a year ago this multi-domain Wordpress was set up by myself and a colleague using the Network Admin tool. There are 5 sites on different domains and it works fine: I now need to add further ...
0
votes
1answer
199 views

How do I safely force get_theme_mod() to use a defined get_option(“stylesheet”) value?

In our development process we have several branches of the same theme for each developer. Theme branches live in different directory names, so when doing get_theme_mod(), get_option("stylesheet") can ...
0
votes
1answer
401 views

Specified file failed upload test. wp_upload_handle

So I managed to write a peice of code that allows me to upload a zip file, im not even sure where it gets uploaded too, and I am doing it on my localhost with apache in control (www-data). the code is ...
0
votes
1answer
230 views

Wordpress Widget plugin and input file

I am writing a widget plugin; and I want to insert an input tag:<input type="file"> to browse for a pattern in my widget plugin admin panel; but I have problem to save its value(address of the ...
0
votes
1answer
283 views

Get meta information from post parent

So I am in a single page and I want to get some meta information from a parent page. This code is inside my footer.php: if (is_single()) { global $post; $parent = get_post_achestor ( ...
0
votes
1answer
34 views

new blog post does not appear in blog after publishing

I can not see the new post I created for the blog. In Settings > Permalinks > I changed it from Post name to Default and switched from a Theme Trust design to the default theme (twenty twelve). I did ...
0
votes
1answer
420 views

Video post format, extra content breaks video embed

I am using the content-video.php include to show the latest video post on my homepage. The include only shows the video from the post and not the rest of the content, which works well. My problem is, ...
0
votes
1answer
357 views

When using Tribe Events Calendar, querying for a specific event category returns nothing

I'm still new to wordpress and I'm trying to write a plugin but for some reason this code is producing nothing. Why? I am completely stumped. I have followed the examples here to a tee. <?php ...
0
votes
1answer
253 views

Open post within Foundation 3 Reveal

I'm trying to open a post within a reveal modal (F3). I solved initially by placing the reveal code within the loop of my custom post type. Thinks were good but I faced a couple of issues. Since ...
0
votes
1answer
274 views

How to create a permalink for custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name

I found this link too much helpful. This is what I code so far and got it working for all scenarios except two scenarios. register_post_type( 'article', array( 'labels' => array( ...
0
votes
1answer
52 views

Remove updates text on plugin or themes list page

I seen update messages as like "There is a new version of BLAH PLUGIN available on BLAH SITE. View version 3.1.3 details or automatically update" on plugin list page and themes listing page before ...
0
votes
1answer
249 views

Bookmark anchor link to load another page first before completing?

Question: is there a way for a link to an anchor bookmark to arrive at its destination by loading another page first? I'm developing a vertical-scrolling style website where the home page displays ...
0
votes
1answer
187 views

WBR tag breaking hyperlinks

I was investigating the cause of hyperlinks breaking on a friend's website. She copies over her content from email and pastes it in the Wordpress editor. In a few articles, the content between the a ...
0
votes
1answer
288 views

/tag/tag_name/page/2 gives a 404 error

I created my own template for list of entries for certain tag (tag.php), It will shows up 10 entries, and with Previous & Next link. <?php $paged = get_query_var('paged') ? ...
0
votes
1answer
112 views

ACF Plugin How to make the customer add more fields in the post?

Example: I created a field with the name, "my-field", there can add it on the post, with a button "add another item" is that I want to create a list with several items, we only need to create multiple ...
0
votes
1answer
150 views

Simple tree display of WordPress menu

I want to display my wordpress menu in the form of a simple tree like this: >First menu item >sub-menu-1 >sub-sub-menu-1 >sub-menu-2 >sub-menu-3 >Second ...
0
votes
1answer
129 views

Where To Find bb_profile_data(); In bbPress?

I posted this same question on WP Forum, but it's completely dead. So, there is a great tutorial in this blog about showing post count in bbPress at this link. According to that article, to show ...
0
votes
1answer
36 views

why is markup routinely placed in functions in wordpress?

Here is an exampple from a woothemes theme. I'm definetly not having a go at woothemes - they are a great theme provider with great standards and this sort of thing is fairly typical in themes. why? ...
0
votes
1answer
118 views

Snapshot Theme from WooThemes — empty 'alt' attribute

I´m using Snapshot theme from WooThemes. The code which resizes (width and height and size in kb), and shows the images (an 'a' tag, wrapping an 'img' tag) is this one: <?php if ( ...
0
votes
1answer
54 views

3 domains, 1 wordpress install, redirecting and changing domains on live site

UPDATED & SIMPLIFIED: I have one Wordpress install at Host #1 with a domain (Domain-A) at Host #2. Domain-A was used for the WP install. I have Domain-B & Domain-C at Host #3. I need ...
0
votes
1answer
65 views

Enforce conditions only for draft posts using WyPiekacz, ignore pending and published posts

I use WyPiekacz to set various conditions for authors when creating posts, for example checking if the post has a featured image or how many tags that are being used. It works fine. However, these ...

15 30 50 per page