Vajrasar Goswami
Forum Replies Created
-
Forum: Plugins
In reply to: [CMB2] CMB2 not showing on object typeHey. Michael.
With the help of one of the dev, when I used –
require( get_stylesheet_directory() . '/metabox.php' );
it worked.
I used that line in functions.php and dumped all the filtered code (that I wanted) into the metabox.php in theme’s directory.
Forum: Plugins
In reply to: [CMB2] CMB2 not showing on object typeSure. How can I send you the details.
Forum: Plugins
In reply to: [CMB2] CMB2 not showing on object typeYes. I’ve activated the plugin.
Also, as I was pointed out by someone, I tried to make a metabox.php file into theme’s directory and used following in functions.php–>
include_once( get_stylesheet_directory_uri() . ‘/metabox.php’ );
but this throws the error –>Fatal Error: Call to an undefined filter in line 2 in metabox.php
The line is 2 is –>
add_filter( ‘cmb2_meta_boxes’, ‘cmb2_page_metaboxes’ );Forum: Plugins
In reply to: [Yoast SEO] Redirect Loop Error after UpdateThanks for replying.
We used WPSEO for all our domains and sub domains, and it was a usual chore for use to update it every time (whenever the latest update was available) and then disable it for a day and activate it again.
As right after the updating, it was doing the redirection thing on every site. But it used to work after the deactivation & then activation ritual. But at the time of me writing that question 8 months back, the plugin din’t stop throwing the redirection(s).
PS. We were also doing Permalink save thing, whenever we update the plugin.
Forum: Plugins
In reply to: [WP Biographia] To display box above TitleSorry about the delay in reply. I actually fetched the required stuff of the relative authors by custom code snippet in the hook I desire.
Was on deadline so never got chance to implement what you suggested. Thanks a lot for the replies though. Will include this in the upcoming project.
Thanks for the reply.
I extracted the files of the package in the same folder where installer.php was residing. But when I went to localhost/mytestsite
I was greeted with a ‘500 internal server error’!Any ideas?
Just in case FYI:
I faced these two errors
————————————–
GLOBAL DB-REPLACE
————————————–
SEARCH1: ‘https://www.mysitename.com’
REPLACE1: ‘https://localhost/CustomSite’
SEARCH2: ‘/home/mysitenamexu/public_html/’
REPLACE2: ‘E:/wamp/www/CustomSite/’
SCANNED: Tables:49 | Rows:594453 | Cells:3831746
UPDATED: Tables:3 | Rows:80573 |Cells:118110
ERRORS: 2
RUNTIME: 601.779300 sec
====================================
DATA-REPLACE ERRORS (Serialization):
SELECT option_value, autoload FROMwp_options
WHERE option_id = “58193”;
SELECT option_value, autoload FROMwp_options
WHERE option_id = “98903”;Forum: Plugins
In reply to: [WP Biographia] To display box above TitleActually, this is what I intend to achieve – https://i.imgur.com/Ae7oO7r.png
Forum: Plugins
In reply to: [WP Biographia] To display box above TitleAm sorry. I should have been descriptive.
Theme: News Theme
Framework: GenesisI want to show Author Box above post title and that too only for “Contributors”.
So I thought if something needs to go above post title then I would have coded it using the genesis_before_post_title action hook. This was the reason I asked that, can I put this hook somewhere in the code of plugin (if it is possible). Or if there is any other easy way?
Thanks for the reply.
Forum: Fixing WordPress
In reply to: comment issue, log in not showingI did the same and found that one of the plugin was interfering. Thanks.
Forum: Everything else WordPress
In reply to: Login Only through Social Network@jagme, I do not want the Facebook Comment. What we want is user can only be able to post comment on post if he authorizes himself using Facebook, Twitter or Google Id.
Like there should be a link saying – To comment, log in using FB, Twitter or Google.
and once user clicks on any, he/she should be able to post comment. There should not be any other way to comment on a post.Forum: Plugins
In reply to: [Get the Image] how can I set the default fallback imageWell, thanks for the awesome plugin Justin. I figured out the way to do this. Actually, I wanted this thing to be done in Related Posts Slider which uses your functionality of getting posts.
Forum: Plugins
In reply to: Unicode Problem, Writing and Displaying Posts in HindiHere is the screenshot of the problem am facing.
Forum: Fixing WordPress
In reply to: Big Image on Featured Post, Normal on Single PostTo be specific, this is what I want to achieve —>
Main Blog Page View -> i.imgur.com/9RFq3.png
Single Post View -> i.imgur.com/qJ9ZL.pngForum: Fixing WordPress
In reply to: Removing Leave a CommentThanks for the help. I did bits from here and there and got this –
/** Customize the post info function */ add_filter( 'genesis_post_info', 'post_info_filter' ); function post_info_filter($post_info) { if (!is_page()) { $post_info = '[post_date] [post_comments zero="0 Comments" one="1 Comment" more="% Comments"]'; return $post_info; }} add_filter( 'genesis_post_comments_shortcode', 'child_post_comments_shortcode' ); function child_post_comments_shortcode( $output ){ return preg_replace('/#comments"\>(\d+) Comment/', '#comments"><span class="number">${1}</span> Comment', $output); }
Here, child_post_comments_shortcode will be adding a separate span for number and text in -> 0 Comments or 1 Comments and so on for better styling. I git this via Gary’s Code tutorial.
Maybe it will help someone else. Thanks.