Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (17)

0
votes
0answers
40 views

Checklist of all posts from a custom post type in a metabox

Suppose i have a custom post type named "product". i want a metabox where all the post title of product custom post type that is already published is shown with a checkbox. how can i make this and ...
0
votes
0answers
45 views

How to pass extra variables in URL in wordpress

I am working on a application in wordpress where i will pass a custom variable as URL parameter. my problem is that when i pass this variable in url header, footer and menu will be disable. I wish to ...
0
votes
1answer
99 views

Show Header When Not In Iframe

On our companies website, we have a list of products, then when you click on a product, a popup opens with the product details. Because this was a popup (in a lightbox) I created a single-productpopup....
0
votes
0answers
40 views

Sort products by custom taxonomy name

I'm trying to sort all products on the shop page by a custom taxonomy category which is in this case product_brand. What I want is when I choose from the dropdown sort by Brand all products to be ...
0
votes
1answer
38 views

Organizing the position of widgetized areas in the backend

Is there a way to position the widget areas in the WP admin -> Appearance -> Widgets page? I've arranged my register_sidebars function in the proper order however they seem to be displayed randomly. $...
0
votes
0answers
69 views

How do I get the meta section in top rated posts of thumbs rating plugin

Hi. I am trying to make page templates using the thumbs rating plugin. and trying to display top rated posts. All was going well, until I got stuck in the meta section. The function I am having a ...
0
votes
1answer
52 views

Update Plugin Without Overwriting Custom Settings

My plugin uses the code below that has uid="x" in it that requires the user to edit the plugin and set "x" to their user id, such as uid="420971". Whenever I release an update to the plugin and the ...
0
votes
0answers
16 views

only show if this link have value

i have custom permalink called ?mirror=1 and this is full link example.com/posts-name/?mirror=1 and i want if this link dont have value don't show this <a href="<?php echo get_permalink(); ?&...
0
votes
2answers
33 views

Custom wordpress Theme and Plugin repository

I am looking for a guide/guidance to create a proper custom wordpress repository for themes and plugins hosted on a website hosting account. I do not want to host it on github.com or anywhere else. I ...
0
votes
0answers
73 views

How to change wp-pagenavi pagination url permalinks

I hope you guys are well! I have a site using wordpress and wp-pagenavi. I would like to change the way that wp-pagenavi displays the paginated URLS. I want to change them from:- www.site.com/...
0
votes
0answers
19 views

can't link a custom( develop from scratch) php page from index.php file

I'am new in wordpress theme development. I was trying to convert a static HTML template to WordPress template. When i was trying to call one of the pages(which is located in header.php ) from index....
0
votes
0answers
60 views

Wordpress default video player not loaded in a custom theme

As the title says I'm using this great plugin https://github.com/kylegilman/video-embed-thumbnail-generator/ to encode and embed videos In my custom theme, when ever I add a video to the post, it is ...
0
votes
2answers
55 views

How do I display entries in the top menu based on conditions selected in the sidebar menu?

Hi. I don't know ajax programming. I know HTML, CSS, little bit of php(so much that I am editing and customizing all the default themes, and learning along the way). I have attached the UI of the ...
0
votes
2answers
37 views

Background setting isn't applied to entire sidebar height

I am working on this WP website and can't for the life of me get the entire height of the sidebar to take the background setting. The theme is a child of TwentyFourteen. Through FireFox's Inspect ...
0
votes
1answer
20 views

Show specific posts as static html/php

I need to show a few paginated posts as static html/php. BTW, i don't care about SEO (please please please don't lecture me that i should). Found 2 plugins: 1)Really Static. Doesn't work with ...
0
votes
0answers
26 views

Bitnami WordPress site re-setup

So I have successfully installed Bitnami on my Linux. Purchased a theme from themeforest created a couple of pages using visual composer and some other plugins, customized some theme options, created ...
0
votes
0answers
17 views

Custom Rewrite Rules Not working

i creat a plugin same it but when i go to http://mysite/apk/(post id) it not working :( hope some one can help me :( // Custom Rewrite Rules add_filter( 'rewrite_rules_array','my_insert_rewrite_rules'...
0
votes
0answers
25 views

how to get 1 post from current category's sub categories

I want to show a list of current category's subcategories with their latest past in subcategories I have categories like this >> Electronics >> Mobile >> Android ...
0
votes
2answers
144 views

Category-slug.php not being used

I have this category-newbie.php template in my theme. And I have the category "newbie" in categories, but it is not using newbie it is using the category.php EDIT:
0
votes
4answers
54 views

custom loop issue

I am trying to get a custom loop to work and I can not see why it is failing. $args = array( 'category_name' => 'audio', 'posts_per_page' => 6 ); $sound = new WP_Query( $args ); ...
0
votes
1answer
95 views

How to show content of specific item on the same page?

I was wondering how I can achieve the following. I have created an overview page of all news articles. At the top of the page there is a big background image and a white block with content. What I ...
0
votes
0answers
61 views

class for the current page in wp_link_pages with next previous and number links

i want to wrap the current page number in tag, currently everything is working fine my output display like this ( prev 1 2 3 4 next ), now i need to add a cuurent class to active page, my code is as ...
0
votes
0answers
69 views

filter built in columns types in edit-tags.php table

I am successfully filtering the header of the tags table in edit-tags.php add_filter('manage_edit-{custom_taxonomy}_columns', 'change_columns_header', 10, 3); function change_columns_header($columns) ...
0
votes
1answer
109 views

How do i search authors from search form using author's name

I am trying to use a search from authors, listings(i.e custom post type) products(i.e custom post type) I am able to search for custom post types but unable to do so for authors. I am using ...
0
votes
1answer
34 views

How to create new page can get custom field other post in wordpress

I want to create a new page eg: example.com/demo/2222 in which: demo is a page, 2222 is id of a post. This page can retrieve data from the custom field of post 2222 when i change 2222 to other id ...
0
votes
1answer
22 views

How to customize theme?

How do I access the WordPress files to customize pages and change the layout? I was given a username and password which gives me access to the add text, but not the actual code.
0
votes
1answer
18 views

Managing Custom Designed Content

I designed a simple page that contains a styled image element and a styled paragraph of text underneath. The image and paragraph of text are related, so that one will never exist without the other. ...
0
votes
0answers
51 views

WP Group posts by year(desc) > month(desc) > date(asc)

I have a custom category template to group posts by a custom field 'event_date'. 2 things I cannot figure out, correctly: grouping by year and month, and having those in descending order, while the ...
0
votes
1answer
158 views

Buddypress: New Tab and Page (Members Profile) [closed]

I want to add some pages/tabs to the user's buddypress profile. I'm using the following function to get at least one page working: function my_bp_nav_adder() { global $bp; ...
0
votes
2answers
32 views

How come there is no wp-content directory in wp theme

I am using Mochhost.com as my Hosting. Recently I have downloaded a free wp theme from wordpress.org. I unzipped the theme and I uploaded to my site at http://thegoods.info into my root directory, ...
0
votes
0answers
22 views

how to create page using add_menu_page?

how to create a new page in the administration menu, which will include (appearance -> header) and (Settings -> General) on one page?
0
votes
0answers
19 views

Creating Action Hooks For Automatic File Inclusion

I want to create a hook for automatic file inclusion in my plugin, but I am finding my stuck moments. May be somebody could help me out. Here is what I tried: $args = array( "url" =>"" ); ...
0
votes
0answers
28 views

Custom redirect pages with out URL in content post

Please help me, For example, my web link is abc.com and I have an article, and in article 2 link is abc.com/att/file.zip (this is the blog link attachments) and a joint the other loads is xyz.com/...
0
votes
0answers
36 views

how to add a menu page with elements?

I have this example plugin for creating a page in the admin panel: add_action( 'admin_menu', 'register_my_custom_menu_page' ); function register_my_custom_menu_page(){ add_menu_page( 'custom ...
0
votes
2answers
20 views

SAving PHP in custom wordpress option field

I have created a custom admin page, which has a bunch of option fields available. One of them I use to enter some HTML code, and I was wondering if it was possible to also add php into that field, for ...
0
votes
0answers
37 views

2 different templates for 1 query

I have a working query with some custom meta fields (among others ACF Gallery field) which displays news on "News" page. I have also second page named "Gallery" which is quering posts by gallery ...
0
votes
0answers
41 views

Is there a hack for using is_page() within the function.php file?

I've created a function in my functions.php that's called when the submit_form event is fired on the front-end. Here is the code: add_action( "wp_ajax_nopriv_submit_form", "submit_my_form" ); ...
0
votes
0answers
137 views

How to upload theme: Option Tree WordPress Theme Check Error

I am having a little problem uploading my theme to wordpress as the initial theme check fails with the below error.. I have integrated Option Tree into my team. But WordPress doesn't accept until the ...
0
votes
0answers
135 views

Wordpress customizer not saving any changes

I have been experiencing an issue, whenever I try to make changes in my Theme Customizer it shows fine in the live preview but when I open the website the changes are not visible, it looks like before....
0
votes
1answer
16 views

Does Wordpress support template resources/custom fields

I'm pretty new to Wordpress development but say I want, based on my theme's page template I want to create a custom variable. Ultimately the idea is to create a variable that appears as a field on ...
0
votes
0answers
24 views

Display older custom field in post loop from same category and same key?

This my first post, please help :D I want to display custom field from older post with same category and same key. Example in post loop: Post 1 <strong>(category Tech)</strong> - ...
0
votes
0answers
71 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
23 views

How to separate website pages from the home page and make custom?

I have installed a theme on my wordpress and published some new links to my navigation. Until now i have my main "home page" customized and i want to costomize the next page "our products". But all my ...
0
votes
0answers
21 views

Advanced Layout through TinyMCE

I am trying to get through this problem with advanced layout, I've found here which works great if all of my pages had the same design. What I am trying to achieve is being able to have a different ...
0
votes
0answers
89 views

How to add custom sidebar on each single page?

I'm creating a book review site. I wanted the site with two columns (65% 35% respectively). On the left side as usual review of the books and other stuff should go, so no worries with that part. On ...
0
votes
0answers
70 views

How to add custom section in backend which will display information on frontend?

I'm newbie in wordpress so please dont judge. So what I want : I have post div like 1:featured image 2:title 3:category - in one div. I want to add one more custom section like one more "title" ...
0
votes
2answers
34 views

How to retrieve custom field values and save again as array

I am new to PHP and WordPress. I have this scenario. There are 4 custom fields saved in page, named: _custField1 _custField2 _custField3 _custField4 What I need to do now is to fetch their values ...
0
votes
0answers
32 views

show 404 page for url which contains unexisting post id

I created custom urls rewrite example : domain.com/post_id/image/image_name/ with rewrite rule it shows likes this : Domain.com/125/image/my-car-image/ it work fine but i want to show 404 not ...
0
votes
0answers
135 views

Image disapear in theme customization settings for zerif lite child theme

I have added theme customization settings for changing logo. I can successfully change image in theme customization. But when I change site url, it disappear from settings. I checked on site for ...
0
votes
0answers
26 views

Can we hide WordPress to prevent detection? [duplicate]

When you go for WPTD(WordPress theme detector), we get a result that it runs on WordPress and the plugins and theme it uses. Well, the theme details can be modified. But, I want it to say "This site ...