Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (10)

3
votes
1answer
21 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
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
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 ...
-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
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
0answers
7 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> ...
-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
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
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
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 ...
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 ...
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 ...
-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 ...
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
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 ...
0
votes
0answers
5 views

Take a received feedback item, turn it into a post

Using a feedback form post, user submitted feedback appears in the settings pages under <blogname>.wordpress.com/wp-admin/edit.php?post_type=feedback. I would like to then take those posts ...
-2
votes
1answer
28 views

How to split the site's layout without damaging this layout? [closed]

I have a site: http://roomble.com and I need to migrate it to wordpress (to be particular, I need in the nearest perspective it's plugins and ability to login thgrough the social networks via ...
1
vote
1answer
36 views

Getting value from get_post_custom

I have added a custom meta box to a category that shows up fine. The only purpose of this metabox is to supply a link to the post. I can see that the box works because my test link is saved in the ...
0
votes
0answers
24 views

Adding nav_menu_item id to Wordpesss links and wp_query vars

having a bit of an issue with this. What I want to achieve is this, the user clicks on a menu item and the menu item's id is available in the $wp_query vars. I also want to achieve the same with any ...
0
votes
1answer
22 views

How wp maps urls into files

I am trying to understand how wordpress works. I have found this line of code in my theme: <?php echo get_permalink(get_option('Theme_search_page_id')) ?> If I get the that option from mysql ...
0
votes
1answer
33 views

Get custom classes in Wordpress Navigation Menu

i'm a beginner to Wordpress. I have a question is how to get only classes we put in CSS classes box in Navigation Menu? Not all with the default Wordpress classes. The purpose of this is i want to ...
0
votes
2answers
68 views

Wordpress most popular post own code, per week

The plugin Most popular posts doesnt support WPML and therefor I have tried creating my own. I have found this tutorial in creating your own code for showing the most popular posts on my site. ...
0
votes
0answers
18 views

WP Admin register taxonomy and post type performance

I noticed that the wp backend (admin) gets slower (and slower) when creating custom post types & taxonomies. (note that I'm not flushing any rewrite rules). Right now I'm calling the ...
0
votes
1answer
18 views

Format latest/newest post differently

I need to apply different formatting to only the latest/newest post. I need the first post to be full size image and full post, all subsequent posts must be excerpts with thumbnails. The code I am ...
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
18 views

Custom Admin Menu Order

I have a simple solution in my functions.php for reordering the admin menu. Here it is: // Admin menu - reorder function custom_menu_order($menu_ord){ if (!$menu_ord) return true; return array( ...
-1
votes
1answer
32 views

Show div only if he has value insided - advanced custom fields plugin [closed]

Recently I installed the advanced custom fields plugin, and I want to display the fields only if there is values inside. So I used if statement and its work fine. Now I have some fields to display and ...
0
votes
2answers
105 views

create single.php for specific category by category id

I'm trying to create template for specific category with id 1 for example. The template should be applied to all of the pages belongs to this category. So, it should be something like single-1.php. I ...
1
vote
1answer
38 views

How to reorganize the items returned by wp_list_comments()?

I'm new to WordPress theme development and learning by building a new theme of my own. I want to reorganize the items returned by wp_list_comments(). I created comments.php in my theme folder and it ...
0
votes
0answers
17 views

Custom logo upload via custom option page

I've tried, <?php if ( get_theme_mod( 'm1_logo' ) ) : ?> <a href="<?php echo esc_url( home_url( '/' ) ); ?>" id="site-logo" title="<?php echo esc_attr( get_bloginfo( 'name', ...
0
votes
2answers
54 views

Function to remove archive sidebar for custom taxonomy?

I have a custom taxonomy/custom post category and I'm trying to write a function, which removes the sidebar from the archive pages, only when there's a (custom) taxonomy match. The match part isn't ...
0
votes
2answers
24 views

How to add pagination in between post and comments?

I am trying to add pagination in between post and comments. I used plugin Automatically Paginate Posts for that in which i can able to add pagination after comments and facebook plugin. Is it ...
0
votes
1answer
39 views

Create “alternative/zebra” boxes in the content area?

I'm looking for a way to create "box" areas in the content area. Is there any native way to easily have custom "box" areas as such? Basically this will be like a zebra table except not a table, ...
0
votes
1answer
28 views

How can I have the posts from one word press blog show on the presentation page of another word press site

I am using the Tempera 1.2.2 theme with presentation page enabled (http://worldofmagictravel.com) and curently the blog posts that are showing on the presentation page are from a blog category within ...
0
votes
0answers
15 views

Hierarchical relationships with different custom taxonomies [duplicate]

I have a custom post type: Cars and two custom taxonomies: Makes and Models. I already created a front-end post submit form using those three elements but as you may imagine from the title, I want to ...
0
votes
0answers
12 views

Make a custom permalink for a specific category

I would like to make 1 post and check off 2 categories, say cat1 and cat2. I want cat1 to spit out my post like this : site.com/past-name Then cat2 to spit out the same post like this : ...
0
votes
0answers
16 views

How to add two-column rich-text category descriptions?

I want to have category descriptions that my website's editors can change without having to write HTML. And: Rich text and image insertion is needed as well. So I need to customize category ...
0
votes
1answer
26 views

How can I make custom static widgets/areas on my homepage?

I'd like 2 areas on my homepage which will be static but can be editable with tinyMCE or whatever editor WP uses instead of hardcoding HTML in the Widget editing area. What would be a way I can go ...