Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (10)

3
votes
1answer
22 views

Walker class: Problems with understanding how walk() method can be called without error

I am struggling with understanding how WordPress uses the Walker class. In particular, I don't understand the walk() method (I think). First, let me explain what I understood: When calling ...
0
votes
1answer
423 views

How to include plugin function in theme's functions.php file

Good day, I'm trying to reduce the jquery dom manipulations by including the right plugin functions in my theme's functions.php file. For example, I have a link which triggers a jquery dialog, which ...
0
votes
1answer
16 views

When post is updated, custom metadata in text area field is overwritten

I have set up 2 new post meta fields in order to add functionality to a custom post type. The custom fields generally work as expected, with a couple exceptions. I set up a checkbox (called ...
0
votes
0answers
26 views

WordPress media uploader - upload tabs not hiding

I'm in the process of adding a front-end post editor to one of my sites. In doing so, I need to prevent certain users from being able to upload media. I have things "kind of" working but there are a ...
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 ...
4
votes
5answers
4k views

How to remove admin menu pages inserted by plugins?

I've got the following code, which cleans up a lot of stuff that is not going to be used within the admin area: add_action( 'admin_menu', 'my_remove_menu_pages' ); function my_remove_menu_pages() { ...
0
votes
1answer
15 views

Use custom get results query to show posts WordPress

I have this code before to show posts. $query_args = array( 'post_type' => 'post', 'posts_per_page' => 4, 'meta_key' => 'Views', ...
0
votes
1answer
36 views

How to change submit button value in comment from “Post Comment” to “Send”

How to change submit button value in comment from "Post Comment" to "Send" I have "responsive" theme , I tried to seach files in wp folder but i can't find the html for this form . Also Is that ...
0
votes
1answer
13 views

Creating post custom field text area

I want to make, I guess a custom field for my theme. I'm not sure is it the right way to do this with custom fields. I searched a lot, but could not find what I need. So I'm hoping that some one ...
0
votes
1answer
1k views

How Can I limit the visible part of the short-description on the Category page?

How Can I limit the visible part of the 'short description' in the Category Page? I found the code in theme/woocommerce/content-product.php, but whatever I try doesn't do a thing. <?php ...
-1
votes
0answers
10 views

I need to add the custom fee in subscriotion woocommerce not in signup fee [closed]

I need to add the custom fee in subscription woo-commerce not in signup fee? I need to add the custom fee in subscription woo-commerce not in signup fee? Please help Thanks in advance
0
votes
2answers
393 views

How to add icon over specific thumb

I wanted to do the following, and I know its possible, but I don't know how. I'm looking at in_category, but it doesn't make to much sense. Basically what I want to do, for an example on my homepage, ...
0
votes
2answers
282 views

Change HTML structure for custom menu in sidebar

I've been digging for documentation on how to change HTML output for the "Custom menu" which you place in optional widget. So its clear what I meen I have attached an image of the widget block here: ...
1
vote
1answer
21 views

if custom post type exist

I want to test if custom post type mobile exist. I used if custom post type exist in the loop, but it doesn't work. Any suggestion why my code is not working <?php /* The loop */ ?> <?php ...
-3
votes
0answers
17 views

I want to add custom fee to subscription price not to signup fee woocommerce [closed]

I want to add custom fee to subscription price not to signup fee woocommerce please help me out Regards
0
votes
1answer
447 views

Right way to update widget on dynamic new input field

I have code to add an input field dynamicly in my theme. I have testd it, as a metabox and it works. But, not in a widget. First add and update, that codes work, but when I refresh page or try to ...
0
votes
1answer
659 views

How to pass on a value as parameter via url to another page

I'm dealing with a problem I can't solve myself. I did a few hours of research about it, but I didn't manage to make it work. I want to send a parameter via the url to the page I'm forwarding to and ...
0
votes
0answers
8 views

how to convert Html block to dynamic widget?

<div class="widget-wrapper"> <div class="widget-icon"> <i class="fa fa-facebook"></i> </div> <div class="widget-title"> </div> ...
0
votes
2answers
2k views

Remove Categories / Tags From Admin Menu

I want to remove / hide Categories / Tags submenu under Posts in the Admin Menu. I know this works with themes submenus: remove_submenu_page('themes.php', 'widgets.php'); but the same doesn't seem ...
-1
votes
0answers
14 views

I am trying to customize the SHOP default sorting in WOOCOMMERCE. [closed]

Basically instead of sorting by popularity, price low to high and so on, I would like to add my own customized sorting. Let's say, DVDS, CANDLES, etc. I was able to do some digging in functions.php ...
0
votes
2answers
36 views

How to display custom field value on page?

I have added custom fields by clicking on screen option and mark custom field ,how to display custom field value on page?
0
votes
1answer
631 views

List post only under the category, exclude child category content

I wanted to list posts which are directly under a category and not inside the "sub category". In other words, I want to hide all the posts which are from "Sub Category" in the Parent category view. ...
0
votes
1answer
491 views

Load more posts with multiple queries

I've been developing a theme which uses the load more ajax plugin, everything is setup and working great with the main query. But, once I setup a new query for popular posts, the load more posts ...
1
vote
1answer
834 views

How to Mass Delete Images from Media Library

I need your help. I am trying to mass delete attachments from a custom post type ('book') using a sql query. I found this snippet on the wordpress form: Wordpress.org I tested it on my local ...
0
votes
0answers
9 views

Help change portfolio image gallery properties? theme abandoned suddenly :( [closed]

I'm so helping for some help - I had only a few things to do before launching and the theme creator seems to have gone dark. No content on the theme home page, the support forums or the ticketing ...
0
votes
0answers
20 views

How should I setup a special series on my blog?

I am not a full-fledged WP developer. But I know how to do basic PHP functions and get stuff working the way I want. However, I want to do a special series on my blog, that will last the next 3-4 ...
0
votes
1answer
285 views

How can I output the custom fields wrapping with HTML

I am trying to publish custom fields created using the plugin "Advanced Custom fields". I am able to display them on posts and custom post types as raw output. But I want to wrap html around the ...
0
votes
1answer
33 views

Custom php file in wordpress

For some purposes i want to have custom php file in my Wordpress that will output content from 3 plugins. This is the PHP code in the file : <div class="wrap"> <div class="sidebar1"> ...
0
votes
0answers
18 views

Search for posts with specific tag inside custom page template

I'm developing a Wordpress blog where there are two custom pages - i.e., different from index.php. In there, there are two albums of photos, with the photos listed on a div above. I've put an input ...
0
votes
1answer
350 views

Custom Post Type Rewrite To Include Parent Page(s)

I have a page title "more" with subpage "cities-guide". Said "cities guide" page has a loop that pulls in posts from custom post type "thailife_city_guide". My permalink structure is ...
0
votes
2answers
992 views

add_rewrite_rule and template redirect not working

I have the following pairs: add_rewrite_rule('^questions/ask/?','index.php?pagename=ask','top'); if(is_page('ask')){ $tname = 'add-question.php'; ...
0
votes
0answers
22 views

Is there a Standard Format for Clean URLs for Archives of Custom Posts?

Are there standard formats for clean URL's for the various types of archives one would want from a collection of custom posts? If, for instance, the slug for the custom post is "business": Author: ...
0
votes
0answers
9 views

Is there any way to change WP download limit?

I know that this plugin change something that allows WP to download any file from your server: https://github.com/wp-plugins/download-manager But I only want to know the way for do that. I don't ...
0
votes
1answer
14 views

How to make a personalizable album? [closed]

First of all, I'm a newbie on Wordpress, so I'm sorry if this is a dumb question. I made the html template of a blog and I want to make some parts of it personalizable. For example: there is a page ...
2
votes
1answer
993 views

Integrating the Wordpress admin panel with a frontend theme

I am building a Wordpress membership site where I need to collect user generated content in form of: -posts -events -classified ads I am using three plugins to accomplish this. However I need to ...
1
vote
2answers
328 views

Author bio Social Links

I'm using simple code to show user social link in author bio. in functions.php <?php function add_remove_contactmethods( $contactmethods ) { // Add Twitter $contactmethods['twitter'] = ...
1
vote
1answer
517 views

Multiple keyword search

I have a custom search where I want to enter a keyword or phrase into the search box, and then by pressing enter it adds it to a 'search storage' (already coded, see below). Asume I have 3 posts, one ...
0
votes
0answers
6 views

Creating guest author description/biographical info

I've found the code to create a custom field and add a guest author to articles, but I also want to create a custom "Bibliographical info" section. Basically, my template has a little blurb about the ...
0
votes
0answers
15 views

Order main loop by category and then post_date

I'm creating an "announcement" post category. I'd like those posts (using the category id) to appear first in the main loop sorted by post_date desc and then the rest of the posts sorted by post_date ...
3
votes
1answer
530 views

Menu Link Redirect Based on Username or User ID

I am building a client portal where my clients can log in and see all their pending projects, completed projects and create new projects. Though I'm stuck at the start. The dropdown menu is called ...
0
votes
0answers
13 views

What are the ways to include WebGL Shaders in Wordpress? [duplicate]

How are people including WebGL shaders in Wordpress? The most common way to use shaders is to use <script id="shader-fs" type="x-shader/x-fragment"> tags in HTML files. It is problematic to ...
0
votes
1answer
569 views

List posts based on First letter of Posts

I want add a Pagination [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] .......[Z] Easy Post Title - By Admin on 2013 post content....bla bla bla... Example Post - Another Test ...
-1
votes
0answers
20 views

not able to hook the event for the state of article change to publish for the iOS app push notifications

i have developed an iOS app with wordpress as backend and i have written the server side code for the same. Now, i need to run my code when ever a post is published. Also i need to create a table to ...
0
votes
0answers
12 views

Custom Post with Bulk Edit

Is there any way to make a separate inline_edit() function for a custom post type.This function is defined in class listed below WP_Posts_List_Table which is in file ...
3
votes
2answers
2k views

Customizing gallery shortcode in 3.5

I'm trying to customize the gallery shortcode using the new gallery system in 3.5 and I'm having a bit of trouble and can't figure out where I'm going wrong. This is what I've got at the moment (in ...
2
votes
3answers
77 views

How do I go straight to “Edit More Details” when clicking on an item in the media library?

By default, when I click on an item in the media library, it takes me to the Attachment Details page, e.g. .../wp-admin/upload.php?item=65. What would I need to edit to make it go straight to the ...
0
votes
0answers
32 views

Merging qTranslate-xp and custom-post-widget and disabling multilingual only for pages

This question is about WordPless plugin development/tweaking/modification and as such as far as I can tell should meet the guidelines for posting on this site. My knowledge of WordPress development is ...
1
vote
4answers
2k views

How to disable page delete

My client is not a computer person. I created a website for him. There is some important pages. My client is always delete this page. Then i want to reconfigure the code (the page id). How do i ...
-1
votes
0answers
9 views

hwo to show category with child categories and post count [duplicate]

i want to show a specific post category like a tree show category under the child categoreies with post count and when click on a category get posts of that category like this below example `main ...
0
votes
0answers
8 views

Form with select multiple

I am looking to do a taxonomy list with multiple choice. In the same way: <select class="" tabindex="-1" multiple="" data-placeholder="Check the ingredients"> <option ...